Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #5042
| From | fnatter <fnatter@gmx.net> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: Problems with BasicComboBoxEditor |
| Date | 2012-02-18 10:46 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <1e6e7e27-3622-4edc-a518-45e36d319037@e27g2000vbu.googlegroups.com> (permalink) |
| References | <87k43pw2dq.fsf@bitburger.home.felix> <28737509.1474.1329327917274.JavaMail.geo-discussion-forums@pbce3> |
On 15 Feb., 18:45, Lew <lewbl...@gmail.com> wrote: > On Tuesday, February 14, 2012 1:06:57 PM UTC-8, Felix Natter wrote: > > hi, > > > I am using an editable ComboBox with BasicComboBoxEditor > > (minimal example attached) with GTK or Nimbus L&Fs: > > > JComboBox comboBox = new JComboBox(); > > comboBox.setEditable(true); > > comboBox.setEditor(new BasicComboBoxEditor()); > > > I am having two problems with this: > > > #1. the first character in the editable combobox (which uses a > > JTextField internally) cannot show the first letter completely (too > > few left padding, see attached minimal example) > > > #2. The Background color of the editable combo box is white > > (as opposed to normal comboboxes, which are grey, depending on L&F) > > Grey is a lower-contrast background color. Use white. Why make your widgets > hard to use? The idea was to make comboboxes and editable comboboxes look the same in the toolbar. However, I agree that readability is more important. Thanks and Best Regards,
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar
Problems with BasicComboBoxEditor Felix Natter <fnatter@gmx.net> - 2012-02-14 22:06 +0100
Re: Problems with BasicComboBoxEditor "John B. Matthews" <nospam@nospam.invalid> - 2012-02-14 22:15 -0500
Re: Problems with BasicComboBoxEditor fnatter <fnatter@gmx.net> - 2012-02-18 10:45 -0800
Re: Problems with BasicComboBoxEditor "John B. Matthews" <nospam@nospam.invalid> - 2012-02-18 21:44 -0500
Re: Problems with BasicComboBoxEditor Lew <lewbloch@gmail.com> - 2012-02-15 09:45 -0800
Re: Problems with BasicComboBoxEditor fnatter <fnatter@gmx.net> - 2012-02-18 10:46 -0800
csiph-web