![]() |
| ||
| calling a function very basic >>> <<<< I want to know how to call the above function ??? import java.awt.*; can some one plzz help me with the code ..... |
| ||
| Re: calling a function very basic >>> <<<< new GridDrawingApplet(); you don't need to explicitly call paint |
| ||
| Re: calling a function very basic >>> <<<< Quote:
so how can i display the content of paint.. wat i am expecting here is to display the content of paint, from the main program.. how can i do that ?? |
| ||
| Re: calling a function very basic >>> <<<< sorry i assumed you knew where to place it public static void main(String []args) |
| ||
| Re: calling a function very basic >>> <<<< an applet do not require main method to run your code include the following method public void init() { } and one comment //<applet code=GridDrawingApplet height=300 width=300></applet> and run this code after compiling by writing appletviewer GridDrawingApplet and remove main method...... |
| All times are GMT -4. The time now is 10:12 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC