Java Code Examples of Javax - Swing.jscrollpane
Java Code Examples of Javax - Swing.jscrollpane
JScrollPane
The following code examples are extracted from open source projects. You can click to vote up the examples that are
useful to you.
Example 1
Example 2
Example 3
Example 4
Example 5
Example 6
Example 7
Example 8
Example 9
Example 10
Example 11
Example 12
Example 13
Example 14
Example 15
Example 16
Example 17
Example 18
Example 19
Example 20
Example 22
Example 23
Example 24
Example 25
Example 26
Example 27
Example 28
Example 29
Example 30
Example 31
Example 32
Example 33
From project freemind, under directory /freemind/accessories/plugins/.
Source file: AutomaticLayout.java
17
public void layout(DefaultFormBuilder builder,TextTranslator pTranslator){
JLabel label=builder.append(pTranslator.getText(getLabel()));
builder.append(new JLabel());
label.setToolTipText(pTranslator.getText(getDescription()));
builder.appendSeparator();
builder.append(new JScrollPane(mList),3);
}
Example 34
Example 35
Example 36
gl_contentPane.setHorizontalGroup(gl_contentPane.createParallelGroup(Alignment.LEADING).addGroup(gl_co
ntentPane.createSequentialGroup().addGap(10).addGroup(gl_contentPane.createParallelGroup(Alignment.TRA
ILING).addComponent(scrollingResult,Alignment.LEADING).addComponent(lblLyric,Alignment.LEADING,GroupLa
yout.DEFAULT_SIZE,404,Short.MAX_VALUE)).addGap(10)));
gl_contentPane.setVerticalGroup(gl_contentPane.createParallelGroup(Alignment.LEADING).addGroup(gl_cont
entPane.createSequentialGroup().addGap(11).addComponent(lblLyric).addPreferredGap(ComponentPlacement.R
ELATED).addComponent(scrollingResult,GroupLayout.DEFAULT_SIZE,224,Short.MAX_VALUE)));
contentPane.setLayout(gl_contentPane);
}
Example 37
Example 38
Example 39
Example 40
Example 41
Example 42
Example 43
Example 44
Example 45
Example 46
Example 47