JApplet ,JScrollPane, JPanel
Hi,
I have a class Test which extends JPanel, I have added a button to this class and overriden the paint method to draw some lines,
In my JApplet, i create instance of Test class and add to the JSCrollPane, I add this JScrollPane to my JApplet content pane, the problem is i dont see the JButton on the screen , but when i click on some where i have added the JButton , i get the action performed event triggered,
My layout for Test class is BorderLayout and i add the button to north,
So what is the problem ..how can i solve it,
Answere ASAP
Ashish

