Tip Bank

DevX - Software Development Resource

Don’t Duplicate ImageList Controls

A common control, such as a TreeView or a ListView, can use an ImageList control placed on a form different from the current one. This is useful when many forms

DevX - Software Development Resource

Unix select Equivalent

Question: Is there any Java facility like the Unix select() system call that will wait until there is something to read from a file descriptor before the programmer does the

DevX - Software Development Resource

Modifying File Timestamp

Question: Is there any way to change a file’s last modification time from Java? Answer: It is not possible to alter the time of last modification in Java version before

DevX - Software Development Resource

UDP Clients

Question: I would like to create an application in Java that communicates with a UDP connection. How do you specify the connection as UDP rather than TCP? Answer: To write

DevX - Software Development Resource

Extracting Integers From Text file

Question: How do I read a series of integers from an ASCII text file? The file contains a sequence of numbers like 110 120 130 140 … I tried to

DevX - Software Development Resource

Random File Access

Question: I am trying to read from a text file using FileInputStream. Is there a way that I can go directly to the middle of the file and read from

DevX - Software Development Resource

Set a Counter Field

Question: Is there an easy way to increase certain fields in tables working as a counter from a third table in a master/detail form? For example: Order Table Item Table

DevX - Software Development Resource

JFrame Exit Button

Question: Is it possible to remove the close button from a JFrame or at least disable it? Answer: It is possible to disable the function of the close button on