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
-1
votes
1 answer

Find number of JInternalFrame in JdesktopPane

i am creating number of JInternalFrame in the JDesktopPane.Is there any way to get the created JInternalFrame.(Like each loop i.e Getting one by one).
Raja
  • 239
  • 1
  • 5
  • 18
-1
votes
1 answer

Java Swing classic: draw the content of components while dragging

How can I display the content of a JInternalFrame while dragging this component in a JDesktopPane? Thanks.
jts
  • 715
  • 7
  • 22
-1
votes
1 answer

Close Internal Frame after a certain task

So this is my code: public class DesktopFrame extends JFrame{ private JDesktopPane theDesktop; private JInternalFrame login; private JMenuBar bar; private JMenu fileMenu; private JMenuItem newLoginFrame; private LoginPanel…
-1
votes
1 answer

How to access a jpanel(in the JDesktopPane) from a JInternalFrame

I want to set access of a jpanel(which is in the JDesktopPane ) from JInternalFrame, I set it to public but no way its gives 'null' when I do some test like that: JDesktop frameP = new JDesktop(); frameP.jPanel1.setVisible(true); //This is what I…
Majda
  • 99
  • 1
  • 3
  • 11
-1
votes
1 answer

table generation runtime

Hello to all Stackoverflow developers thanks for helping me . I am working on a swing project .In which , i have to add a jinternal frame on jframe . i am adding the jinternal frame by calling method Container.add(jinternalframe1); the…
adesh kumar
  • 129
  • 3
  • 10
-1
votes
1 answer

adding frames to mainFrame

i want to add some frame to my main frame, lets say we've 3 frames (Frame1, Frame2, and Frame3) i want to: Create new Frame called Frame 4 and add menu bar with items (View Frame1, View Frame2, View Frame3) --> actually i've created this frame…
BDeveloper
  • 1,175
  • 6
  • 24
  • 44
-2
votes
1 answer

How to open a JInternalFrame inside JDesktopPane at startup

I have a Java application which has one JDesktopPane and couple of JInternalFrame. I want to load one of the JInternalFrame at startup. I tried opening JInternalFrame from listeners of JDesktopPane, and it loads, BUT since the JDesktopPane maximizes…
Jasir
  • 677
  • 1
  • 8
  • 26
-2
votes
1 answer

Create JInternalFrame with 3 JPanels with variable size and TextFields

I'm trying to make a window with an internal window, using a JSpinner to set integer values, a button to generate the JInternalFrame, passing JSpinner value as parameter. This JInternalFrame will contain 3 JPannels, where they must have colmuns and…
-2
votes
1 answer

How to create a window group in java?

i want to create a jframe that contains dynamic windows , like the windows group in Netbeans (palette, properties window, projects window ... ), anyone have an idea how to do it in java ? thanks .
-2
votes
1 answer

Scroll bar en JInternalFrame?

I have a question. I have a JInternalFrame, with input-texts, combo-boxes, panels, almost finalized... but, it is bigger than the JFrame... I don't want to do all back.. So, Can I add a scroll bar without add a scroll panel? How I to do? Sorry for…
-2
votes
1 answer

How to set Background Image for JInternalFrame?

I try more script to set background in JInternalFrame but no one successfull. Can anybody help me?
-2
votes
2 answers

Java Swing Internal Frame As Dialog

I have created one project in netbeans. I have one internal frame, which I want to be displayed as dialog. Please help me. Note:I have used windows look and feel.
Samit Manna
  • 1
  • 1
  • 1
-2
votes
1 answer

switch between jframe and jinternalframe

Hi stackoverflow developers I have to design a form in swing having two menus on it . onclicking a menu i want to add a jinternal frame on it . and then after clicking a button on jinternalframe the jinternalframe should be removed and new control…
adesh
  • 1,157
  • 3
  • 18
  • 28
-3
votes
1 answer

How to detect when all internal frames are closed in desktop pane?

I want to be able to detect when all instances of JInternalFrame in a JDesktopPane are closed. I've been looking through the events fired by desktop pane and I don't see one that is applicable. I've tried adding a JInternalFrameListener to each one…
user3877599
  • 47
  • 1
  • 7
-3
votes
1 answer

Adding JDesktopPane to JPanel

Is it possible to add JDesktopPane and JInternalFrame to a JPanel if so how could I do it. I tried adding it but it couldn't work.
Praburaj
  • 613
  • 8
  • 21
1 2 3
27
28