I have class which extends JTextArea which I want to attach to JFrame.
here is constructor for for JTextArea
public MoveSelectedFiles()
{
area = new JTextArea(10, 40);
setVisible(true);
}
and here is JTextArea is added to JFrame
MovedSelectedFiles movedTextArea = new MoveSelectedFiles();
JPanel panelTextArea = new JPanel();
panelTextArea.add(movedTextArea);
frame.add(panelTextArea, BorderLayout.EAST);
The JFrame is build of other 3 components where other 2 are showing OK.
Any suggestions/solutions?