using JLayeredPane



Is it possible to successfully add it to another JComponent, or must
you set it as the contentPane of a JFrame?

--
monique
.



Relevant Pages

  • Re: Close a Window From Within A JComponent
    ... I thought the best way would be to add a window listener ... > in the jframe class and spawn a window close from the jcomponent. ...
    (comp.lang.java.gui)
  • Re: Initialize component so it can render
    ... One reason is JComponent is lightweight. ... which nails down some native GUI space with a peer object. ... GUI space include JWindow, JFrame and JDialog. ...
    (comp.lang.java.gui)
  • Problem in reloading a JFrame
    ... I am having a JFrame which constitutes of a JComponent and a panel. ... The JComponent is a separate class and the contents it displays is from ... invalidate fucntions don't work because I am not ...
    (comp.lang.java.gui)
  • Re: where do the keystrokes go?
    ... > keystrokes make it to the JComponent. ... MouseMotions, on ... are percieved by the JComponent. ... When the mouse is moved over the JFrame, ...
    (comp.lang.java.programmer)
  • Re: BoxLayout bug in 1.5?
    ... "xarax" wrote in message ... > calling setLayout() on the contentPane, ... > the JFrame. ...
    (comp.lang.java.programmer)