🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Swing questions

#11732
From: Quach Hoa Thanh
Date: Sun, 25 Apr 1999 00:00
19 lines
1391 bytes
1. I can set the property Border of a JButton to None at design time and
the border disappears. JBuilder Adds a line JButton1.SetBorder(null).
However I can't set it back at design time with a border. I can remove
the line JButton1.SetBorder(null) in the source pane and the border will
reappear. Am I missing something here.

2. When I set the property of TooltipText of JButton1, it works fine
when the mouse is over it. When I reset the property of the ToolTipText
to nothing , JBuilder still leave the following line in the source code
jButton1.setToolTipText(""). This causes a small rectangle to appear
everytime the mouse is over JButton1 which isn't the right behaviour,
anybody runs into the same problem?.

3. GrabFocus() is used to set focus to any JButton. Why not setFocus()
which is consistent with the rest of the language.

Thanks for all your help

Thanh
Technical Details
Message-ID: <3722B4FC.77BA7A91@ns.sympatico.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,3231f100451f603,start
X-Google-Attributes: gid111d45,public
From: Quach Hoa Thanh <thq.qua@ns.sympatico.ca>
Subject: Swing questions
Date: 1999/04/25
Message-ID: <3722B4FC.77BA7A91@ns.sympatico.ca>
X-Deja-AN: 470595235
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Self Employed
Mime-Version: 1.0
Reply-To: thq.qua@ns.sympatico.ca
Newsgroups: borland.public.jbuilder.java.swing