}
editPane.setText(contents.toString()+"</html>");
JInternalFrame frame = new JInternalFrame();
- frame.getContentPane().add(editPane);
+ frame.getContentPane().add(new JScrollPane(editPane));
+
Desktop.instance.addInternalFrame(frame,"Alignment Properties: "+getTitle(),500,400);
}