• Post Reply Bookmark Topic Watch Topic
  • New Topic

Frames

 
Ambreen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JEditorPane is unable to display frames. Is there a way to do that or is the only way to do is to use some kind of technique for this.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Two things:
1) Your name violates the naming standards that you agreed to when you registered. Please change your display name to be your real first name - space - your real last name.
2) Don't you think this would be better asked in the Swing/AWT forum? I am moving this there.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes... a frame is a top-level GUI component(not to mention an AWT component), so it cannot be contained inside a JEditorPane...

You could probably use a JInternalFrame, though...

-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!