Are there any yield/sleep type statements in PB?
Question: I need to find a way to yield the CPU (for x amount of time) from one event to process another event (for x amount of time) in the
Question: I need to find a way to yield the CPU (for x amount of time) from one event to process another event (for x amount of time) in the
Question: I’m writing a class that reads a log file containing timestamps.My StringTokenizer returns the timestamp as a String and I then haveto store it in a date container. Should
Question: Here is one that I couldn’t figure out for months!Will I be surprised if anyone can come up with a solution to this. How do you create a program
Question: I’m reading a book on Java 1.1 that refers to various classesthat do not exist in Microsoft Visual J++ Professional Edition,Version 1.1, which apparently installs V1.02 libraries. How canI
Question: Is it possible to create an ‘always on top window’ in java? Answer: The short and perhaps not so sweet answer is “No.” At least not in 100%Java. You
Question: How can I set the icon image for a java.awt.Dialog like you can fora java.awt.Frame using setIconImage? Answer: Unfortunately you cannot do this. A Dialog inherits the icon of
Question: Is there anyway with java to get a file’s date? Answer: Unfortunately, there seems to be no platform-independent way of doing this.The lastModified() method in java.io.File returns a system
Question: How do I get a tool tip to appear in a java application? Answer: Tool tips were not a part of the AWT packages in the 1.0.2 and 1.1releases
Question: Is there a way to open a file for writing in append mode? Answer: The FileOutputStream and FileWriter classes both have constructors thatwith the following signature (String, boolean). The