Article View: borland.public.jbuilder.java.swing
Article #7592Doubts with Interface Control
From: Edilmar Alves
Date: Mon, 22 Jan 2001 13:58
Date: Mon, 22 Jan 2001 13:58
14 lines
1766 bytes
1766 bytes
I have been creating an applet with a JTable + buttons + TextFields
to allow a table-database manipulation. However, I'm having doubts
to better control of GUI. The following are my doubts:
1) How to disable the editing into JTable. I would like JTable became
only for display, not editing. I try: "jtable1.setEnabled(false);" but it
didn't work.
2) How to define explictly the field size, because my users will use a
640x480 resolution and I would like to define in a static way the
fields size, like Delphi does.
3) How to set focus for some defined field when applet starts. I'd
like to focus a TextField but it isn't the first field of the applet.
I'd like something like Delphi "Edit1.SetFocus".
4) How to force uppercase into a JTextField.
Technical Details
Message-ID:
<3A6C3C84.16EA3A4F@intersite.com.br>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!xfer13.netnews.com!netnews.com!newsfeed.icl.net!newspeer.clara.net!news.clara.net!Quza.UK.peer!nntp.gblx.net!merapi!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,c0586080b2ccf738,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-22 07:01:44 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!xfer13.netnews.com!netnews.com!newsfeed.icl.net!newspeer.clara.net!news.clara.net!Quza.UK.peer!nntp.gblx.net!merapi!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mail From: Edilmar Alves <edilmar@intersite.com.br> Newsgroups: borland.public.jbuilder.java.swing Subject: Doubts with Interface Control Date: Mon, 22 Jan 2001 11:58:28 -0200 Organization: InterSite Informática Lines: 17 Message-ID: <3A6C3C84.16EA3A4F@intersite.com.br> NNTP-Posting-Host: dl-max1-C8D4FF78.cgr.terra.com.br Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: pt-BR,en X-Priority: 1 (Highest)