jsplitpane
JSplitPane divider color affected by contents
I\'m working on an application that displays two JScrollPanes within a JSplitPane. Each of the JScrollPanes contains a JPanel that I\'m drawing the content onto. The problem is that when I adjust the[详细]
2023-04-06 22:04 分类:问答Swing JSplitPane problem
How to Split Component verticallyinto different parts? I开发者_如何学编程s It possible in Swing?[详细]
2023-03-29 20:52 分类:问答How to lock JSplitPane divider when swapping components?
I have a simple extended JSplitPane that I set different panels to at different times when they are needed. Specifically, I split it into an upper and lower section, and I swap out the bottom section[详细]
2023-03-28 04:20 分类:问答Need the height of an invalidated Swing component
The basic setup is this:I have a vertical JSplitPane that I want to have a fixed-size bottom component and a resizing top component, which I accomplished by calling setResizeWeight(1.0).In this applic[详细]
2023-03-26 04:00 分类:问答JSplitPane: is there a way to show/hide one of the panes?
I have a JSplitPane with two c开发者_开发百科omponents, A and B, but sometimes I want to be able to hide B, so that either of the following are true:[详细]
2023-03-22 21:56 分类:问答JSplitPane and Canvas
As part of an application I\'m writing I need to mix the old (heavyweight) Canvas with swing components - specifically nesting them inside a JSplitPane. However, when I do this the divider refuses to[详细]
2023-03-21 02:54 分类:问答Java: Issue with jsplitpane and boxlayout
I want to get rid of the empty space to the left of the jsplitpanes: Here\'s my code: getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));[详细]
2023-03-13 23:52 分类:问答JSplitPane won't resize when I use java.awt.Canvas?
I have a simple example where I\'m using java.awt.Canvas for components within a JSplitPane, and the JSplitPane won\'t allow adjustment. Could anyone explain why? (and more importantly, how to fix)[详细]
2023-03-08 23:51 分类:问答How to layout two JSplitPanes with evenly placed dividers when using JFrame.pack()
This code should produce a frame with 2 vertical split panes that should initialise so that the dividers are evenly placed.[详细]
2023-02-20 17:14 分类:问答Java SplitPaneDemo not working?
I am trying to get this up code up and running from java official site but I am getting Exception in thread \"AWT-EventQueue-0\" java.lang.StackOverflowError[详细]
2023-02-19 05:56 分类:问答