This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
In the ordinary circumstances (new JTable ()) may cause table withJScrollPane to roll. Now I used the JPanel Component and Realizes the Scrollable connection. Replaces TABLE with JPanel the position. How regardless of I do establish its size,All does not have an effect. Asks the experienced friend to grantinstruction.Thanked first！ Code: JScrollPane a = new JScrollPane(new JMyPanel()) ;