Get your CodeRanch badge!*
The moose likes Applets and the fly likes Update applet text runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Update applet text runtime" Watch "Update applet text runtime" New topic
Author

Update applet text runtime

Paks Shukla
Greenhorn

Joined: Mar 20, 2012
Posts: 4
Hello,
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..
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Hello Shukla and welcome to the Ranch! We don't have too many rules here, but we do ask that you BeForthrightWhenCrossPostingToOtherSites <- link

http://www.codeguru.com/forum/showthread.php?s=3e604b9bc696741de01a821c634439bf&p=2060955
http://www.java-forums.org/awt-swing/56987-update-applet-text-runtime.html

Any more?


luck, db
There are no new questions, but there may be new answers.
Paks Shukla
Greenhorn

Joined: Mar 20, 2012
Posts: 4
Sorry. But I am new and I am not aware about this rule.
I'm stucked out in my program and thought to get solution from anywhere.
I'll be careful next time about this.
Please let me get help this time.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18135
    
    8

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.
Paks Shukla
Greenhorn

Joined: Mar 20, 2012
Posts: 4
Hi Paul,

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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Update applet text runtime
 
Similar Threads
WebSphere Application Server installation
Prompt for location when file is downloading
Support for JFRAME
Support for JFRAME
Applet to .txt file comm.