• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Components not showing

 
Andrew Wisner
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new at writing applets. Today, I attempted to write an applet with the code below (the only code so far) in the init() method. When I run the code, I get a blank applet. I know I must be making some stupid mistake, but I can't figure out what it is. Any help is much appreciated!

 
Paul Clapham
Sheriff
Pie
Posts: 20203
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand line 2. Is the comment at line 1 supposed to describe that? Because line 1 suggests you're going to be dealing with the applet's content pane, but line 2 creates a new Container instead.
 
Andrew Wisner
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought that "pane" is another word for the "container" object. Is it not?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
looks like you're missing this last line
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic