Results 1 to 2 of 2
- 10-04-2010, 06:14 AM #1
Member
- Join Date
- Oct 2010
- Posts
- 1
- Rep Power
- 0
jList border showing up even if setVisible is false
Hi,
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.
Thank you
Regards,
Amar
- 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?
db
Similar Threads
-
.setVisible(false); not working... grr...
By Roclemir in forum New To JavaReplies: 8Last Post: 05-29-2010, 12:22 AM -
can't get setVisible(false) to work
By alexander.s in forum AWT / SwingReplies: 0Last Post: 04-27-2010, 08:33 PM -
Showing JList in a JPanel
By nico.hvi in forum AWT / SwingReplies: 0Last Post: 03-10-2010, 02:26 PM -
Question regarding JButton .setVisible() and .setEnabled()
By JFReturns in forum Java AppletsReplies: 4Last Post: 02-26-2009, 11:46 PM -
setVisible(true) does not work
By Gajesh Tripathi in forum AWT / SwingReplies: 2Last Post: 10-27-2007, 07:32 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks