Size « Applet « Java Swing Q&A





1. Java Stopping JApplet Components from Resizing based on Applet Size    stackoverflow.com

Creating a JApplet I have 2 Text Fields, a button and a Text Area.

private JPanel addressEntryPanel = new JPanel(new GridLayout(1,3));
private JPanel outputPanel = new JPanel(new GridLayout(1,1));
private JTextField serverTf = new JTextField("");
private ...

2. Applet size method required    coderanch.com

3. applet size    coderanch.com

I have an issue and I'm sure its something silly that I've missed in my code but I can't seem to pinpoint it. Forgive me, I'm still a GUI beginner. In my run method I'm setting the size for the applet window but when I try to run it it appears to run at some default size and not the size ...