devxlogo

Tip Bank

DevX - Software Development Resource

find and replace values loaded in memory

Question: I am trying to write a program that will search memory for a hexadecimal string and replace it with the values hardcoded in my program. It’s a game cheat

DevX - Software Development Resource

Advantages of WinCE

Question: What advantages does WinCE have over other handheld palmtop operating systems such as the Newton and others? Answer: Wow! Now that’s a leading question. Here’s the short version of

DevX - Software Development Resource

2GB+ files

Question: How do you determine the file size of files which are larger than 2GB? Also, how do you seek into a files larger than 2GB?Thank you Answer: You might

DevX - Software Development Resource

Parsing a string into a date

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

DevX - Software Development Resource

Always on top window

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

DevX - Software Development Resource

Printing Components

Question: How do I print out a component? Answer: Java 1.1 introduced the java.awt.PrintJob and java.awt.PrintGraphicsclasses. It also added the print(Graphics) and printAll(Graphics)methods to java.awt.Component, and the printComponents(Graphics) methodto java.awt.Container.

DevX - Software Development Resource

Tool Tips

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

DevX - Software Development Resource

Completely hidden application

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

DevX - Software Development Resource

Java and NT Services

Question: How can I run a Java server application as an NT service? Answer: You can run a Java server appliation as an NT service if you use theMicrosoft SDK