Article View: borland.public.jbuilder.java.swing
Article #366Gridbaglayout display issue
From: Magnus
Date: Wed, 28 Sep 2005 13:27
Date: Wed, 28 Sep 2005 13:27
30 lines
1932 bytes
1932 bytes
Hi,
I got a call from a tester who had problems finding a JComboBox on a
screen. He knew where it is located (usually) so he could click in the
black dot that showed and could then see the options.
What could have caused this to happen and what can I do to prevent this
and similar display "issues" in the future? Can this be caused by the
display setting for the computer. (WinXP)
Why only this box? I have other boxes that showed proper.
Magnus
--- not showing ---
JComboBox comPortComboBox = new JComboBox();
for (int i = 0; i < comPortList.length; i++)
comPortComboBox.addItem(comPortList[i]);
panel1.add(comPortComboBox, new GridBagConstraints(1, 1, 1, 1, 1.0, 0.0
, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL,
new Insets(28, 8, 0, 30), 14, -1));
--- showing ---
panel3.add(testComboBox, new GridBagConstraints(2, 2, 1, 1, 1.0, 0.0
,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL,
new Insets(0, 0, 0, 0), 25, -1));
Technical Details
Message-ID:
<433a99e1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 111d45,621c342b92c7ba27,start X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 28 Sep 2005 09:27:52 -0400 From: Magnus <magnus_bjorkman@iwon.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en, sv MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Gridbaglayout display issue Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.76.181.96 Message-ID: <433a99e1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1127913953 67.76.181.96 (28 Sep 2005 06:25:53 -0700) Lines: 30 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail