Quantcast
Viewing all articles
Browse latest Browse all 18

Get/Set divider location in JSplitPane

In this example on how to get or set the location of the divider in a JSplitPane component of a Java Desktop Application. In order to do that you have to follow these steps: Create a new JFrame. Call frame.getContentPane().setLayout(new FlowLayout()) to set flow layout for the frame. Create two String arrays that will containt the contents of the […]

Viewing all articles
Browse latest Browse all 18

Trending Articles