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

How to resize a JDesktopPane dynamically

So I have an desktopPane on a JFrame, on the desktopPane is a JInternalFrame. Now I set the location of the internalFrame to the center of the desktopPane, but when I resize the whole Frame the InternalFrame stays where it was and does not change…
0
votes
1 answer

Why the JInterFrame not resizing?

I am creating one java Application which includes the JDesktopPane and JInternalFrame. And I am using GridLayOut to set JInternalFrame The Issue is I can't resize the JInternalFrame as per the GridLayout size Below is One Screen Shot of…
Jay Joshi
  • 103
  • 2
  • 9
0
votes
1 answer

JinternalFrame not showing nor any exceptions

I working on a project .In panel class i have defined a mouselistener to call second iframe in desktop pane but its not showing up? Please Help Thanks Main Class public class Try2 extends JFrame{ JTabbedPane pane; public Try2() { …
0
votes
1 answer

jInternalFrame not brought to the front

I have a JDesktopPane which contains a number of JInternalFrames. The first time I press one button to visible jinternalframe1 and second button to visible jinternalframe2, it appear above the main window without problems. However, if I press one of…
Beginner
  • 3
  • 2
0
votes
1 answer

Shared object between multiple JInternalFrames

What's the most efficient method of implementing a shared data object between multiple JInternalFrames on a single JDesktopPane? Not sure whether to go with singleton or can I put a data object in the JDesktopPane and access from a component? I…
citronic
  • 9,868
  • 14
  • 51
  • 74
0
votes
1 answer

Add button to JDesktopPane

I have a question from swing, I have two forms, the first form is for MDI and the second form is for login, I want when a user enters password and username correct, user can login to MDI‘s form. MDI form use of jform and login form use of…
user3373621
  • 11
  • 1
  • 5
0
votes
1 answer

JInternalFrame is not show

I am new for Java. I need to have MDI in my project. When the user clicks ‘Open’ in menu bar, the internal frame is added and should be full screen on top. I still cannot make it full screen on top when it is open. Also in my code, if I remove the…
user819774
  • 1,456
  • 1
  • 19
  • 48
0
votes
1 answer

How to set JInternalFrame minimised title background?

I can set the title bar background when maximised using InternalFrame.activeTitleBackground and InternalFrame.inactiveTitleBackground but how do I set it when the internal frame is minimised?
citronic
  • 9,868
  • 14
  • 51
  • 74
0
votes
2 answers

setting Swing JInternalFrame lnf manually

UIManager.put("InternalFrame.activeTitleBackground", new ColorUIResource(new Color(207,255,247))); UIManager.put("InternalFrame.inactiveTitleBackground", new ColorUIResource(new Color(207,255,247))); JDesktopPane baTabbedPane = new…
citronic
  • 9,868
  • 14
  • 51
  • 74
0
votes
1 answer

How to get the maximised size of the Jframe which has the JDesktopPane also maximized.?

I have a "Login internal frame" displayed while launching the application.But the problem is it does'nt appear centered in the screen of the application. My code to get the actual size of the desktop and setting location of the JInternalFrame is as…
user3066876
  • 11
  • 1
  • 1
  • 2
0
votes
0 answers

Drag and drop files and folders from OS Explorer to JDesktopPane (netbeans platform 7.3)?

I was wondering if there was some way to handle the Drag&Drop between the OS Explorer and a JDesktopPane (embedded in a netbeans application). After a few hours crawling the internet, I found nothing relevant of such a behavior. In the "java-to-OS"…
Benj
  • 1,184
  • 7
  • 26
  • 57
0
votes
1 answer

Using JDesktopPane with JLayeredPane in Java

I want to make a Windows GUI simulation in Java, but I'm having trouble positioning windows over desktop icons. I tried placing the desktop icons (JButtons) and the windows (made using JInternalFrame) in the same container (JDesktopPane), but the…
Leo Jiang
  • 24,497
  • 49
  • 154
  • 284
0
votes
1 answer

JToolbar is not resizing with JDesktopPane in Netbeans

I am trying to add a JToolbar to a JDesktopPane in Netbeans. However, when I add the JToolbar to the JDesktopPane, and I maximize the JDesktopPane on runtime, the JToolbar remains the same size. JToolbar is not resizing along with the other…
unleashed
  • 331
  • 1
  • 5
  • 17
0
votes
1 answer

JInternalFrame and JDesktopPane

I have master employee form and I want to show em on my main form. That main form is MDI container, so I just want to know how to show the master employee form. Here is theJDesktopPane creating object code: public class MainForm extends…
Cignitor
  • 891
  • 3
  • 16
  • 36
0
votes
1 answer

JDesktopPane - minimising JInternalFrames

I working with JDesktopPane and creating multiple JInternalFrame objects. When I minimize all and maximize any one of them, the opened frame covers all minimized frames. How to make all minimized frames visible?