This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.
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.