Make a JScrollPane

Descrição

Computer Programming (Java) Notas sobre Make a JScrollPane, criado por desnunan em 29-03-2014.
desnunan
Notas por desnunan, atualizado more than 1 year ago
desnunan
Criado por desnunan mais de 10 anos atrás
43
0

Resumo de Recurso

Página 1

Make a JTextArea (or JList similarly) have a vertical scrollbar onlyJScrollPane scroller = new JScrollPane(text);text.setLineWrap(true);scroller.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);scroller.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);panel.add(scroller);

New Page

Semelhante

Java Week 5 Object Oriented Programming
Troy Bowlin
Making a GUI
desnunan
Java Practice 1
Ummm No
PEGA CSSA Prep
Wendell Phipps
Getting a User Event
desnunan
Listener
desnunan
Paintable Widgets
desnunan
Handling Swing Component Events
desnunan
Playing with Swing Components
desnunan
Java Practice 2
Ummm No
Servion - Java Questionnaire
rohit.benedict