creating many number of textfields beyond the size of monitor
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   samuel_perinbam
Posted On:   Tuesday, April 17, 2001 04:04 AM

I have created 15 no of JTextfields of height 100 each.I set the size of JFrame as (1000,1000).I created a ScrollPane as follows;
ScrollPane sp = new ScrollPane();
sp.add(panel);
frame.getContentPane().add(sp);
I added the textfields to the JPanel and add panel to the scrollpane.On executing, I viewed the ScrollBars but they can't scroll the full view of my
design format (ie) I can't see all textFields.How can I view all textFields?.Please help me.

About | Sitemap | Contact