Search:

Type: Posts; User: javaAllDay

Search: Search took 0.13 seconds.

  1. 2 MouseListeners at the same location in a layeredPane

    I have a JLayeredPane 'lp' which contains a JPanel 'p' with a JLabel 'l' on it.

    If the label is clicked then I print out the message 'label1 was clicked' and then add another JPanel 'p2' to the...
  2. Re: JPanel not showing up dynamically inside JLayeredPane

    After hours of frustrated debugging, I finally somehow made it work correctly. What I did was I added SwingUtilities.invokeLater() method and passed the code inside it like this..


    case...
  3. JPanel not showing up dynamically inside JLayeredPane

    I have a JLayeredPane and it contains a JPanel to start with. Now I want another smaller JPanel to display on top of the previous JPanel inside the JLayeredPane dynamically. By dynamically I mean...
Results 1 to 3 of 3