popup window

  • (3 Pages)
  • +
  • 1
  • 2
  • 3

31 Replies - 6662 Views - Last Post: 29 May 2010 - 09:52 AM Rate Topic: -----

#31 giuseppe105  Icon User is offline

  • D.I.C Regular

Reputation: 9
  • View blog
  • Posts: 438
  • Joined: 15-May 08

Re: popup window

Posted 29 May 2010 - 09:28 AM

View Postg00se, on 29 May 2010 - 07:51 AM, said:

I'm a bit confused now. You started with dialogs and ended with internal frames and i'm not sure why ...


no I'm still using JDialog

The problem was that the main part of the application wasn't working. JDialog was for the "New" window.

new window
Posted Image

i was trying to fix the main part of the application.

I ended up changeing my content pane to a JDesktopPane and never used the JInternalFrame at all.

I was asking why It started to work drawing the main part of the application after i set the contenent pane to a JDesktopPane.

working:
Posted Image

broken:
Posted Image

This post has been edited by giuseppe105: 29 May 2010 - 09:31 AM

Was This Post Helpful? 0
  • +
  • -

#32 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8315
  • View blog
  • Posts: 31,836
  • Joined: 06-March 08

Re: popup window

Posted 29 May 2010 - 09:52 AM

View Postg00se, on 29 May 2010 - 09:51 AM, said:

I'm a bit confused now. You started with dialogs and ended with internal frames and i'm not sure why ...

The JDialog is poped at the beginning to know with what populating the JDesktopPanel
Was This Post Helpful? 0
  • +
  • -

  • (3 Pages)
  • +
  • 1
  • 2
  • 3