Skip to content

Commit

Permalink
Log the content of JTextPane's
Browse files Browse the repository at this point in the history
  • Loading branch information
rlktradewright committed Oct 25, 2021
1 parent 0762bcc commit 189d487
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ibcalpha/ibc/SwingUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,9 @@ private static String getComponentDetails(Component component) {
} else if (component instanceof JTextField) {
s += "JTextField: ";
s += ((JTextField) component).getText();
} else if (component instanceof JTextPane) {
s += "JTextPane: ";
s += ((JTextPane) component).getText();
} else if (component instanceof JMenuBar) {
s += "JMenuBar: ";
s += ((JMenuBar) component).getName();
Expand Down

0 comments on commit 189d487

Please sign in to comment.