Browse Source

ScrollPane for Note Panel

remotes/origin/server
Alena Bandarovich 11 months ago
parent
commit
c274059da4
  1. 6
      src/main/java/ChatClient.java

6
src/main/java/ChatClient.java

@ -29,9 +29,9 @@ public class ChatClient extends JFrame implements KeyListener {
setContentPane(root);
jScrollPane = new JScrollPane( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
jScrollPane.setPreferredSize(new Dimension(300, 500));
root.add(jScrollPane);
}
private JPanel setupPanel(String header) {

Loading…
Cancel
Save