Questions tagged [jdesktoppane]

In Java Swing application, a JDescktopPane is a container used to create a multiple-document interface or a virtual desktop.

In Java Swing application, a JDescktopPane is a container used to create a multiple-document interface or a virtual desktop.

More Info

136 questions
0
votes
4 answers

JDesktopPane has a toolbar at bottom of window on linux

I have a JDesktopPane that adds JInternalFrames. On Linux (ubuntu) and Mac os, all displayed internal frame appear in a taskbar/toolbar standing in the bottom left corner, with the name of each internal frame as label. This toolbar is not displayed…
Martin Pernollet
  • 2,285
  • 1
  • 28
  • 39
-1
votes
1 answer

JDesktopPane not displaying any component

I'm experimenting with desktop panes so I can use them in my work projects. The problem here is that I want to use an JInternalFrame within a JDesktopPane, in a normal JPanel it shows normally but cannot move it, using the desktop pane doesn't…
-1
votes
1 answer

Is there a method to know when the focus of an internal frame has changed to a different one within a desktop pane?

I have a JDesktopPane which creates several JInternalFrame components. The desktop keeps some variables which each internal frame needs to know, so every time an internal frame is clicked, it needs to check the desktop variables and copy them. When…
Berbus
  • 160
  • 3
  • 20
-1
votes
1 answer

Java Swing: Initialize JinternalFrame to the top of its layer

I have to create a multitext editor, and when you open the a new frame it should appear on top of all the others, but must remain on the same level so it could fall to the very back when needed. Whats the easiest way to do this? I have tried the…
Kyle
  • 1
-1
votes
1 answer

Adding JDesktopPane to JFrame using GridBagLayout

How do I add the JDesktopPane to JFrame using GridBagLayout and set its height and width. If I add JDesktopPane that contains JInternalFrame I don't get anything. But works well in case of GridLayout but the problem is I can't set my desired size in…
Praburaj
  • 613
  • 8
  • 21
-1
votes
1 answer

Multiple JInternalFrame view

I create the multiple JInternalFrame. It is working properly. But when create the JInternalFrame, it is load over the existing one. I need the JInternalFrame like as table cells (row by row).
Puvanarajan
  • 2,786
  • 6
  • 26
  • 37
-1
votes
2 answers

how to list all visible jinternal frame from desktoppane to window menu in java

Am creating an MDI application .I have added all internalframe to desktoppane. My problem is to add all visible internal frames as menu items to "window" menu. and when another frame is selected from menu it should set focus. And i have to cal same…
Devu
  • 1
  • 3
-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
2 answers

How to set Background image in JDesktopPane

I want to set the background of the JDesktopPane (I add this JDesktopPane directly from the palette into the JFrame) I try to override the method public void paintComponent (Graphics g) but it's not working Here is the code: JDesktop p = new…
Majda
  • 99
  • 1
  • 3
  • 11
-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

Scroll the controls over using JDesktopPane in Swing

I have designed swing controls over JPanel using netbeans , now i want the control should scroll with the click on Jscrollbar or JSlider Suppose i have four buttons on the jpanel from then they should appear one by one from right to left while…
adesh singh
  • 1,727
  • 9
  • 38
  • 70
-2
votes
1 answer

JDesktopPane external Application?

What's the purpose of JDesktopPanes? Just to Display Frames in it? Or is there a way to Launch an external jar or exe inside this DesktopPane? Thank you.
-2
votes
1 answer

how to prevent dragging the JLabel outside the boundary of JDesktopPane?

how to prevent dragging the JLabel outside the boundary of JDesktopPane? i've done an application, in which there is a JLabel placed in JDesktopPane,JLabel can be dragged to any place,but while dragging the problem is that the JLabel can be dragged…
Nidhish Krishnan
  • 20,593
  • 6
  • 63
  • 76
-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
1 2 3
9
10