Tip Bank

DevX - Software Development Resource

Break Out of Those Frames

So you’ve designed your page just perfectly so all the content screams at the user to be noticed. Unfortunately, sites that link to your site have decided to place their

DevX - Software Development Resource

Textfield Alignment

Question: How do I right align numbers in a textfield? Answer: This is yet another example of why the Swing classes should be used inlieu of the AWT classes. Swing

DevX - Software Development Resource

AWT Thread Interaction

Question: I have two threads in an application. Thread A displays a form andallows the user to interact with it, thread B executes a loop whichcontinually retrieves data and updates

DevX - Software Development Resource

Initializing A ResultSet

Question: I am building a prototype but am trying to make the code as reuseableas possible. To test the prototype, I need to simulate a ResultSetbeing returned from a database.

DevX - Software Development Resource

Securing Images on Your Site

Question: Is it possible to keep someone from downloading an image from my Web site? Answer: It’s certainly possible to secure some of the files on your Web site. The

DevX - Software Development Resource

Unconsting a Const Reference or Object

Question: I have encountered a problem as follows: void foo(const int& var){ foo2(var);}void foo2(int& var)… So what I did was void foo(const int& var){ foo2((int&)var); ^^^^^^} and it compiled *_*

DevX - Software Development Resource

Dynamic Views Using the System Date

Question: I have a user who wants me to create a dynamic search view where the data retrieved is effective within the last six months using the system date. Is

DevX - Software Development Resource

Removing cc:Mail Connector

Question: I need to remove the cc:Mail connector. How do I do this? Answer: Though it would seem intuitive to select the connector and click Delete but that actually won’t