basically i have called in an instance of the paintComponent on my form... as follows...
the MyPanel object is just a painComponent, but i need to draw into it... from within my current class, without hard coding it into the MyPanel class, can anyone help?Code:MyPanel tester = new MyPanel(); tester.setSize(800,600);




Reply With Quote