} catch (Exception ex) {
s = "Manual not found";
}
- pane.add(new JScrollPane(new JTextArea(s, 30, 95)));
+ JTextArea text = new JTextArea(s, 30, 95);
+ text.setLineWrap(true);
+ text.setWrapStyleWord(true);
+ text.setEnabled(false);
+ text.setDisabledTextColor(Color.black);
+ pane.add(new JScrollPane(text));
Action close = new AbstractAction("Close") {
public void actionPerformed(ActionEvent ae) {
setVisible(false);