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
2 answers

May i can use JOptionPane.showConfirmDialog for dispay JInternalFrame?

May i can use JOptionPane.showConfirmDialog for display JInternalFrame? I tried following code: OPD.Registration opdRegister = new OPD.Registration(); //OPD.Registration is extending JInternalFrame int ns=JOptionPane.showConfirmDialog(null,…
Daxesh Prajapati
  • 151
  • 3
  • 13
2
votes
1 answer

Re-sizing a JInternalFrame kept inside a parent JFrame and this Parent JFrame is registered with ComponentMover API

I am pretty bad with english so please forgive me for grammatical mistakes. I am new in java swings, my intent is to create many jinternalframes dynamically and each jintenalframe is to be movable i.e. free to drag and be kept anywhere, which i have…
user2286273
2
votes
2 answers

How to setup KeyPress in netbeans

Can anyone help me to set a KeyPress action on a currently opened jInternalFrame? I have a jDesktopPane inside a jframe, and I have multiple jInternalFrame inside the DesktopPane. I am using Netbeans to create this application. On the jDesktopPane I…
2
votes
1 answer

Managing JInternalFrames in a Swing MDI

When creating an MDI Swing GUI, I have a number of JInternalFrames that are added to a JDesktopPane in a JFrame. I make these internal frames invisible by adding setVisible(false) in the constructor, after the initComponents method (as the GUI…
user1128272
2
votes
1 answer

how to prevent running same JInternalFrame more than once

How can you prevent the JInternalFrame not to open more once, currently in my application it opens many times. Also how can I make my application run only if there is not the same application running. This is the code for JInternalFrame private…
mohamed nur
  • 331
  • 1
  • 15
2
votes
2 answers

is there any way call other JinternalFrame from an JinternalFrame but, in the desktopPane of of main Jframe.

The "code part 1" below is used for calling UcakListesi(JinternalFrame) from menuItem in MDI application without problem. I would like to call same UcakListesi(JinternalFrame) from another JinternalFrame using same code however, I get error about …
2
votes
2 answers

How to move minimized components placed at the bottom of the container?

I have three components in a container and buttons in it. When I hit the minimize button the components gets minimized to the bottom of the container and when I hit the minimized component then it gets maximized. Suppose three components are lying…
user2045376
2
votes
0 answers

Arrange internal frames

In a workspace I would like to arrange vertically or horizontal two or more InternalFrames, such as the attached pictures What is the best solution to do this? Thanks
Alberto acepsut
  • 1,972
  • 10
  • 41
  • 87
2
votes
1 answer

JFrame behaving weirdly

In my program, I am displaying images with a song in background. After song is finished, i need to close frame and JInternalFrame. Here is the code: package projectfinal; import javax.swing.*; import java.io.File; import java.io.IOException; /*…
joey rohan
  • 3,505
  • 5
  • 33
  • 70
2
votes
1 answer

Close an Opened JInternalFrame that is been opened within another JInternalFrame while changing the tab of a JTabbedPane

I've created and application in which there are two tabs titled Tabbedpane 1 and Tabbedpane 2. In one tab body Tabbedpane 1 contains a JInternalFrame in which there is a search button. On clicking the button another JInternalFrame opens within the…
Nidhish Krishnan
  • 20,593
  • 6
  • 63
  • 76
2
votes
2 answers

Correct Layout to set the JFrame and JInternalFrame flexible with every screen size

Possible Duplicate: Example Program JMenubar on JInternalFrame when i Maximize the JInternalFrame i am working on a Swing application, and i am new with the Layouts, i want my JFrame and the included JInternalFrames to take the size of the screen…
Zakaria Marrah
  • 755
  • 6
  • 15
  • 28
2
votes
1 answer

Trying to disable dragging of a JInternalFrame

I have been looking around for awhile and can't find a method for disabling dragging a JIntenal Frame. Any help would be appreciaed -TYIA, Roland Please keep in mind this is an applet, import java.awt.*; import java.applet.*; import…
Roland Sams
  • 173
  • 1
  • 2
  • 12
2
votes
1 answer

how to call jFrame on jDesktopPane without using JInternalFrame

I completed my project which assigned to me by university but now I am trying to create MDI for my project. I used 10 jFrame and one main form which is also jFrame, after that I add one Menu Bar, 10 jButtons for calling jFrame and one jDesktopPane…
Ayaz Ali
  • 311
  • 2
  • 7
  • 16
2
votes
1 answer

make whole jinternalframe transparent

Right now I am making my jinternal frames transparent using this code: double rgbConversionBackpack = Double.parseDouble(MyClient.configFile.getProperty("BACKPACK_FRAME_ALPHA")); double tmp = (rgbConversionBackpack / 100.0) *…
KisnardOnline
  • 653
  • 4
  • 16
  • 42
2
votes
1 answer

JInternalFrame Icon moves below JPanel when minimized

I am trying to design a small game, and using a JInternalFrame to display the Inventory. The problem I am having though, is that when I minimize the InternalFrame, the icon in the bottom left corner automatically hides behind the JPanel that is also…
tyler
  • 53
  • 5