JDesktopPane « JDesktopPane « Java Swing Q&A





1. Adding a JComponent to JDesktopPane    coderanch.com

2. JDesktopPane - Changes from 1.2.2 to 1.4.0?    coderanch.com

I have a Swing based app I developed with VAJava 4.0 (uses 1.2.2 internally). The app is only happy on 1.2.2 JVM. On 1.3 and 1.4 the JFrame appears with menu and tool bar but the child JInternalFrames don't show. I have been very careful and am sure that the app is not referencing any IBM or VisualAge specific classes. I ...

3. rolling a component allover JDesktopPane    coderanch.com

hai everybody, i want to roll(drag) a component allover jDesktopPane. i have achieved this by calling component's setBounds() method consistantly from mouseDragged method. the dragging is actually takes place.but the problom is 'flickering'.string 'flickering' occurs while dragging the component.how can i resolve this 'flickering'?. i think that using dnd can solve this problom.how can implement dnd if both drag source and ...

4. JDesktopPane    coderanch.com

5. Trying to run JDesktopPane    coderanch.com

Oh. Sorry about that. Bad example. Other similar methods tho do have those and nothing is coming out. Anyway. I made a simple three class program that has one JDesktopPane and two windows in it. One calls another. And ofcourse this call doens't work. Here is the whole code of the program: JDesktopPane. Which is also holds the main method. package ...

6. paintComponent in JDesktopPane gives unexpected results when dragging    coderanch.com

Hello Ranchers, I need to draw a line between two JInternalFrames in a JDesktopPane. I have created a subclass of JDesktopPane and added my line drawing into the paintComponent() method. The line is drawn, but when I am dragging the frames around, I get some very weird behaviour. Please look at the following two little screenshots: This is with the desktoppane's ...

7. JDesktopPane    coderanch.com

8. Open a Web Page inside a jDesktopPane    coderanch.com

9. JDesktopPane Design    java-forums.org

Hello everyone, I'm designing a window using a JFrame and I added a JDesktopPane. I love the JDesktopPane and working with JInternalFrames, but I have some issues with it. I can add a JInternalFrame when using the standard Layout, but when I change the layout to BorderLayout and add a new Component (eg. JSplitPane to the west) I can't add new ...