Skip to content

Commit

Permalink
Uncommented table comment code
Browse files Browse the repository at this point in the history
Uncommented code that that adds a comment text area for each of the table labeled rectangles
  • Loading branch information
Marc Halperin committed Jun 18, 2015
1 parent 135eba5 commit e4d22a9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/org/ohdsi/rabbitInAHat/DetailsPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,15 @@ public void columnSelectionChanged(ListSelectionEvent e) {
fieldListPanel.setBorder(BorderFactory.createTitledBorder("Fields"));
add(fieldListPanel, BorderLayout.CENTER);

// JScrollPane commentsPanel = new JScrollPane(commentsArea);
// commentsArea.setFont(font);
// commentsArea.getDocument().addDocumentListener(this);
// commentsArea.setWrapStyleWord(true);
// commentsArea.setLineWrap(true);
//
// commentsPanel.setBorder(BorderFactory.createTitledBorder("Comments"));
// commentsPanel.setPreferredSize(new Dimension(100, 200));
// add(commentsPanel, BorderLayout.SOUTH);
JScrollPane commentsPanel = new JScrollPane(commentsArea);
commentsArea.setFont(font);
commentsArea.getDocument().addDocumentListener(this);
commentsArea.setWrapStyleWord(true);
commentsArea.setLineWrap(true);

commentsPanel.setBorder(BorderFactory.createTitledBorder("Comments"));
commentsPanel.setPreferredSize(new Dimension(100, 200));
add(commentsPanel, BorderLayout.SOUTH);

}

Expand Down

0 comments on commit e4d22a9

Please sign in to comment.