Results 1 to 2 of 2
- 10-04-2010, 06:14 AM #1Member
- Join Date
- Oct 2010
- Rep Power
jList border showing up even if setVisible is false
I am having a jFrame class inside which I have populated jList and the border property set to no border or empty border. When I start the app, I am setting setVisible as false for jList. Still the jList border appears on jFrame panel.
Waiting for answer.
- 10-04-2010, 06:29 AM #2
1. When referring to standard JDK classes, use the proper capitalization. Or are you actually using some third-party classes named jFrame and jList? which would also be in contravention of the Java convention for class names.
2. To get better help sooner, post a SSCCE that clearly demonstrates your problem.
SSCCE : Java Glossary
3. Is the JList wrapped in a JScrollPane?
- By Roclemir in forum New To JavaReplies: 8Last Post: 05-29-2010, 12:22 AM
- By alexander.s in forum AWT / SwingReplies: 0Last Post: 04-27-2010, 08:33 PM
- By nico.hvi in forum AWT / SwingReplies: 0Last Post: 03-10-2010, 03:26 PM
- By JFReturns in forum Java AppletsReplies: 4Last Post: 02-27-2009, 12:46 AM
- By Gajesh Tripathi in forum AWT / SwingReplies: 2Last Post: 10-27-2007, 07:32 PM