devxlogo

March 21, 1997

Code Generates Null Pointer Exception

Question: If I have: class point { double x,y; } & import point; class test { public static void main(String args[]) { point[] P = new point[10]; P[0].x = 5;

Cannot connect to Personal Oracle

Question: I have been trying to connect to Personal Oracle 7 on the Macintosh. I can connect from the DBA applications, but cannot connect from Power Objects. Can you give

Eliminating toolbars

Question: How do I eliminate the toolbar for a form? Answer: To eliminate the toolbar from displaying for a particular form, add the code: Self.SetToolbar(NULL) to the InitializeWindow() method for

repaint() and Consecutive Lines

Question: My applet draws lines. I click at the place where I want my line to start and then I click at the end of it. It draws a line