I am new bee in Java. First I'm sorry if posting at wrong place.
I am developing 1 applet program which download the file from server to user system then install it and run it.
My issue is I want applet text to change according to process going on. If it is downloading file from server then it should display "downloading...", if it is installing then text should "Installing...", and at last "successfully installed..."
How can I do that? Please help me out.
Thanks in advance whoever help me..
To change the text on a JLabel you call its setText() method. Have you not tried that already? If you didn't know that then I would suggest you go through the Swing tutorial and acquire basic knowledge about Swing programming.
However if you did try that and you are having some problem with making it work, then you should ask a question about that problem. See TellTheDetails if you don't see why that would be a good idea.
Joined: Mar 20, 2012
below is my applet code. Can you help me out with my code.
I have one more issue in my code for mac os that I will let you know later on.
My applet code does everything what I need (it download, install and run the application). Now I just want to display static text whatever going on in my applet.
I have set a 'text' variable then repaint() the applet but it's not working.
Please suggest me here..