wood burning stoves 2.0*
The moose likes Applets and the fly likes Using Swing in Applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Using Swing in Applets" Watch "Using Swing in Applets" New topic
Author

Using Swing in Applets

srinivas.b
Ranch Hand

Joined: Oct 26, 2006
Posts: 58
Hi all,

I am developing one application using applets.My idea is to view that applet using browser. But i would like to use swing concepts like JFileChooser and JButton . when i run my application using eclipse its running file. But when i try to open my applet using browser it is not showing JButton and JFileChooser.

How can i solve my problem?

Could anyone please help me regarding this

Thank you
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
Is the applet initialized correctly? Do the Java Console or the browser status bar show any error messages?


Ping & DNS - my free Android networking tools app
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Originally posted by B T R Srinivasarao:
i would like to use swing concepts like JFileChooser and JButton . when i run my application using eclipse its running file. But when i try to open my applet using browser it is not showing JButton and JFileChooser.
How can i solve my problem?

Is your class extending Applet (bad) or JApplet (good) here?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Swing in Applets
 
Similar Threads
JFileChooser in an applet
Creating and opening a window if the button is clicked in an applet
Display Directory structure in tree format like windows explorer
How the applet can open a finle like JFileChooser?
Problem with JFileChooser