A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
First time using JApplet, applet not initialized?
Joined: Feb 03, 2012
Feb 03, 2012 21:06:57
Below is the client class for the project I'm doing,
this is the first time we've had to use
, I have no idea why it won't run, any ideas?
public class ConferenceClient extends
private ConferenceGUI gui;
private Container c;
final int WIDTH = 700;
final int HEIGHT = 250;
public void init()
gui = new ConferenceGUI();
c = getContentPane();
Joined: May 03, 2008
Feb 03, 2012 21:24:55
Vaughn Stewart wrote:
I have no idea why it won't run, any ideas?
That said, I've never seen a null constraint passed when adding a component to a
. Have you read
? Also, don't setSize(...) -- the layout manager takes care of that.
And welcome to the Ranch!
There are no new questions, but there may be new answers.
subject: First time using JApplet, applet not initialized?
Not drawing the Button?
Virtual Graphing Calculator
Not able to change Background color of a component
Not to show the ellipse?
First time with applets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014