posted 20 years ago
I have a class extending from JFrame.
I created a JPanel and created a JscrollPane like foll..
panelInput=new JPanel();
scrollPane = new JScrollPane(panelInput);
scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
getContentPane().add(scrollPane);
The scrollpane is not visible when i execute the program..what may be happened??
any help??