Questions tagged [jinternalframe]

JInternalFrame is a lightweight Java Swing component that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar.

JInternalFrame is a lightweight Java Swing component that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar.
For task-oriented documentation and examples of using internal frames, see How to Use Internal Frames, a section in The Java Tutorial.

420 questions
2
votes
1 answer

How to close JInternal Frame Dynamically when object is created at runtime

I am opening a JInternal Frame by getting its name from JTextField and ** then creates its object at runtime**, the problem is that if I write 10 times different Internal Frame name in textBox and then click the button it opens the new JInternal…
shaun Tait
  • 33
  • 6
2
votes
2 answers

How can i get the JFrame (parent) of a JInternalFrame?

I'm doing a program like Gimp and i have a JInternalFrame for change the color of shapes and i paint the shapes in other JInternalFrame so i have to get my frame to get the JInternalFrame where i want to paint. I don't know how to get the parent of…
mike02
  • 21
  • 1
  • 2
2
votes
2 answers

Removing dots in JInternalFrame title bar

I recently just tried to use JInternalFrame component in my project which I nested inside a JPanel. However, I noticed that the title bar of JInternalFrame is dotted and I don't like it to have dots. I want it to look just like any other title bar…
heisenberg
  • 1,784
  • 4
  • 33
  • 62
2
votes
6 answers

JInternalFrame to front and focussed

How does one push a JInternalFrame to the top of all the frames in a JDesktopPane?
davidahines
  • 3,976
  • 16
  • 53
  • 87
2
votes
1 answer

JFileChooser as JInternalFrame

I'm building a java program, in which you should be able to select a file. The Dialog should popup as JInternalFrame and shouldn´t be an own window. My progress: JFileChooser chooser = new JFileChooser(); JInternalFrame fr = new…
Jakob
  • 53
  • 4
2
votes
0 answers

JinternalFrame design issue

I started to create a swing java application and I'm using JInternalFrame in it when I, suddenly, noticed this design issue in the JInternalFrame: Is it a design bug or something ? And is there a solution for it ? Here is my code: import…
SlimenTN
  • 3,383
  • 7
  • 31
  • 78
2
votes
2 answers

JInternalFrame Does Not Fully Maximize Under Mac OS X

I'm working with JInternalFrame's under Mac OS X Java 5 and when maximizing a JInternalFrame within a JDesktopPane the window doesn't fully maximize, but the property to allow maximizing is definitely set to true. This is the result I'm getting…
Kieran Senior
  • 17,960
  • 26
  • 94
  • 138
2
votes
1 answer

Translucent internal frames - is that possible in java?

Is there any way I can make translucent JInternalFrame uing swing? All I found is option for JFrame(not internal one) which is not what I need.
maxpovver
  • 1,580
  • 14
  • 25
2
votes
1 answer

Exception in the iconization of JInternalFrame with DefaultDesktopManager

I am trying to use DefaultDesktopManager (or a sub-class of this) to control the moves out of JInternalFrames from a desktop panel. I can prevent that a frame is moved out of its desktop pane, however, when I minimize the internal frame I get: …
Naive Developer
  • 700
  • 1
  • 9
  • 17
2
votes
2 answers

decorate, undecorate JInternalFrame

I'd like some help on how to undecorate and decorate back an JInternalFrame. My frame class is this: package com; import java.awt.BorderLayout; import java.awt.Font; import javax.swing.JComponent; import javax.swing.JInternalFrame; import…
Charus
  • 41
  • 3
2
votes
2 answers

JInternalFrame - Remove top left drop down button

I have been looking through all properties and cant figure out how to remove it. The GUI was generated with netbeans. Does anybody know how to remove that pesky thing? I don't have enough reputation to post the image, so here is a link to help…
asd
  • 47
  • 8
2
votes
1 answer

Change Java JInternalFrame title bar theme

I am interested to know if it possible and how to change the standard JInternalFrame title bar theme to the JFrame title bar theme? If it is just a matter of changing the theme. Basically, at the moment, my JInternalFrames look like the ones in…
David
  • 617
  • 1
  • 6
  • 15
2
votes
1 answer

What kind of voodoo is necessary to get the glassPane visible and valid for an JInternalFrame?

I have a project where I use JDesktopPane for the main application and a bunch of JInternalFrames for a series of independent analyses. Certain bits of the analyses are time-consuming thus I run them on SwingWorkers, but I would like to both…
posdef
  • 6,498
  • 11
  • 46
  • 94
2
votes
1 answer

Drag and drop between two tables in two different internalframes java

I have an application in which there is two Jtables in two different InternalFrames, one that does have a model with its columns, and the other doesn't, and the idea is to drag some of the columns from one to the other for print purposes.. Because…
user3568400
2
votes
1 answer

How to add a JInternalFrame to JFrame?

I have my JFrame, and I want to attach to a button an ActionListener that triggers the JInternalFrame. I do: private void aboutMenuItemActionPerformed(java.awt.event.ActionEvent evt) { AboutFrame about = new AboutFrame(); //jInternalFrame …
anat0lius
  • 2,145
  • 6
  • 33
  • 60