Niklas R
Niklas R

Reputation: 16870

Java Window in another Window

Multi-window applications often have a main-window, and all other windows are kind of 'parented' to it. Minimizing such a sub-window will hide its content and show the title-bar at the bottom-left of the screen. Also, these windows do not have their own Icon in the Task-bar, only the main-window does.

  1. How can I make a window being attached this way to another window?
  2. If that is possible, is it also possible without a referenfe to the actual main window?

@2: I'm embedding Java into such an application and I would like to be able to use awt or swing additionally to the native dialogs, which have this behavior by default.

Upvotes: 1

Views: 711

Answers (2)

mKorbel
mKorbel

Reputation: 109813

Upvotes: 5

Andrew Thompson
Andrew Thompson

Reputation: 168825

See How to Use Internal Frames.

enter image description here

Upvotes: 5

Related Questions