Results 1 to 2 of 2
- 02-03-2012, 10:50 AM #1
Member
- Join Date
- Dec 2011
- Posts
- 3
- Rep Power
- 0
SWT Combobox: items not showing up until you hover over them
Hi Guys,
I'm having display problems with the SWT combobox.
I use following code to initilialize and declare my combobox:
Java Code:cboRol = new JComboBox(new String[] {"Deelnemer", "Spreker", "Moderator", "Spreker+Moderator"}); cboRol.setFont(new java.awt.Font("Calibri", 0, 11)); cboRol.setForeground(new Color(0, 0, 0)); //cboRol.setModel(new DefaultComboBoxModel(new String[] {"Deelnemer", "Spreker", "Moderator", "Spreker+Moderator"})); cboRol.setSelectedIndex(0);
Can anybody help tried the visible, opacity and model already stilll no success
- 02-03-2012, 01:49 PM #2
Re: SWT Combobox: items not showing up until you hover over them
JComboBox isn't an SWT class. To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem.
dbIf you're forever cleaning cobwebs, it's time to get rid of the spiders.
Similar Threads
-
Adding String to ArrayList from textfield and showing it on ComboBox
By Renxx in forum AWT / SwingReplies: 1Last Post: 12-11-2011, 12:59 PM -
Unable to add Items to a JComboBox when those items are read from a file
By jiffi in forum AWT / SwingReplies: 8Last Post: 12-10-2011, 05:54 PM -
Issue with the Hover-Popup Box
By jazz2k8 in forum Advanced JavaReplies: 2Last Post: 07-22-2011, 08:44 AM -
combobox
By dina in forum AWT / SwingReplies: 7Last Post: 05-11-2011, 06:31 PM -
Components not appearing until hover over or altering size of window
By goffy in forum New To JavaReplies: 22Last Post: 05-19-2010, 03:00 PM
Bookmarks