• 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

jApplet Problem!!!

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I created JApplet with CardLayout....
I have about 7 Panels...
In Panel#1 i am using 6 of the panels...
and then in Panel#2 I am creating something else...
My Problem is the width and height of the applet is 325, 200...
I need to keep this size because my panel1 is just a login screen...
When i display the Panel#2 i want to change the size of the applet to 825,588...
But it displays the Panel#2 in 325,200..
How can i make the size of the Panel#2 to 825,588...
Any help will be greatly appreciated...
Thanks in advance.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My suggestion is this:
instead of using a JPanel in the applet for the Login, use a JDialog. This keeps it off of your JAppet container.
The problem with what you are trying to do is the size of the Applet is specified in the HTML. I don't think this can be changed via the Applet.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic