Tip Bank

DevX - Software Development Resource

No Response From Server Process

Question: When I use onstat -d, the message “No response from server process” pops up. Then I can’t shutdown the database or do any other jobs. I could use dbaccess,

DevX - Software Development Resource

System Shutdown

Question: Is there an API that I can use to sense that the system is shutting down? Answer: Up until just recently the answer was no. But Sun keeps on

DevX - Software Development Resource

TextField Max Characters

Question: How do I restrict the number of characters to be entered in a TextField? Answer: Setting a maximum character count is not a built-in function ofTextField. You have to

DevX - Software Development Resource

Preprocessor Support

Question: Is there something similar to the C/C++ compiler directive #ifdef,#define, and #endif in Java? I would like to compiledebugging code conditionally. Answer: This is one of the first questions

DevX - Software Development Resource

Return Values from Java to Unix

Question: I am calling a java program from a Unix script and passing threeparameters. Once the Java program is done, I want to return two valuesback to the Unix program

DevX - Software Development Resource

DWORD Equivalent

Question: I’m trying to translate from VC++ to Java. Can you declare a variableDWORD in Java? If not, what is the Java equivalent? Also, what is theequivalent for HINSTANCE? Answer:

DevX - Software Development Resource

HTML Pop-Up Menus Rendering Issues

Pop-up menus in normal HTML pages are usually implemented using Layers (DIV tag). However, the leading browser applications in the market have this known problem with layers: if a pop-up