devxlogo

March 19, 1997

Getting Rid of clipRect for paint()

Question: When paint() iscalled, the clipRect of the Graphics obj may already be set to somethingsmaller than the full drawable region of the object (if, for instance, it’sa partial window-manager

Highlighting/Making Bold Button Text

Question: How do I highlight or make bold the text in a button or a list? Answer: Java Buttons, Lists, Labels, TextAreas, Canvases, etc, are all subclasses ofthe Java Component

Reading a Double from Command Line

Question: Hi, I just started to program in Java in Win95 platform. Even though I/O through files has already been discussed, I am having trouble reading a double from the

Adding and Removing Columns from Tables

Question: How can I add and remove columns from a table at run time? Answer: While I’m an avid supporter of Delphi, one of the most annoying things about it

Writing Servers in Java

Question: How can a server written in Java work like a UNIX daemon? To me it seems that a server cannot be an applet. Is it a standalone application? Answer:

Printing from Applets

Question: I am trying to construct an applet that accepts data from the user and performs several calculations on that data.I would like to give the capability to print out