1. How to get rid of JList border? coderanch.com |
2. jList border showing up even if setVisible is false java-forums.orgHi, 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 |
3. JList borders still visible on setVisible(false); forums.oracle.comHi, I am new to java and swing. Using netbeans, added a JList, JButton to JFrame. added a button and wrote code as below to the actionPerformed event. private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: jList1.setVisible(false); } But on pressing the button, Jlist object becomes gray visually, but the borders are still visible.. Is there any ... |