• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Swing in Applets

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the applet initialized correctly? Do the Java Console or the browser status bar show any error messages?
 
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic