๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #563

Re: JBuilder2005 Issue

#563
From: Jordi Peris
Date: Fri, 04 Feb 2005 07:34
21 lines
2117 bytes
CaptnTony escribi๏ฟฝ:
> Update 3 helped solved that issue for me.  Not once has the designer 
> misbehaved in that fashion again.  I use XP though, so I'm not sure if 
> there's an issue between OSes.
> 
> 
I have resolved the question. The problem was:
1- I have a JPanel (we call this jPanel1) with jtextfields, jlabels and 
another JPanel (jPanel2)
In JPanel2 whe have JLabels, JTextfields, and 1 button. The icon of the 
button was loaded from a file with "new 
ImageIcon(PropertiesClass.getProperty(directory)+"/image.gif").
Of course, in design time the icons do not appear because the class with 
properties is loaded on execution time.
In JBuilderX the panel 2 showed in grey and empty. That i think is 
normal, but in JBuilder 2005, if after this statement i have a statement 
of a JTextField (like setMinimumSize(20,20)), then in jpanel1 all the 
jLabels is showed whith no text, no size and no font.

I have change the images and now is loaded like a resource and all works 
fine.
Technical Details
Message-ID: <42032585$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-mail
References: <41b0a4d1$1@newsgroups.borland.com> <41e2bb6e$1@newsgroups.borland.com> <420085ad$1@newsgroups.borland.com> <420299d9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,1549d232fd8d8f9b
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII
Date: Fri, 04 Feb 2005 08:34:31 +0100
From: Jordi Peris <jperis@ival.com>
Reply-To:  jperis@ival.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.3) Gecko/20040913
X-Accept-Language: es-es, en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: JBuilder2005 Issue
References: <41b0a4d1$1@newsgroups.borland.com> <41e2bb6e$1@newsgroups.borland.com> <420085ad$1@newsgroups.borland.com> <420299d9$1@newsgroups.borland.com>
In-Reply-To: <420299d9$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 217.127.45.95
Message-ID: <42032585$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1107502469 217.127.45.95 (3 Feb 2005 23:34:29 -0800)
Lines: 21
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