Article View: borland.public.jbuilder.java.swing
Article #9347Re: Delphi Equivalents in Swing
From: rwilkman
Date: Mon, 17 Apr 2000 00:00
Date: Mon, 17 Apr 2000 00:00
100 lines
4132 bytes
4132 bytes
Larry: I'm not sure what part of the requirements you mentioned steered you towards an Applet, but they shouldn't. An Application has UI as well. Any type of component layout you do on an Applet (which is really just a Panel by parentage) you can do in an Application. That'll let you use the other 98% of Java, too. -Rich Larry Maturo wrote: > > Hi Rich, > > Thank you, I'll check it out, especially the "why you > probably shouldn't write applets" article. From what > you said, I'm already hoping I don't have to. > > What I am doing is writing a client GUI for a semiconductor > cell controller. Unfortunately for me, the SEMI trade > organization has lots of standards, and one of them is > how a GUI should be arranged for semiconductor > equipment. It's a quite rigid standard, down to the > ordering of buttons, and the exact text on them. It also > specifies things like colored borders around everything > that is selected, and the exact color of the border. > Because of this I was assumming that I would have to > write an applet. I guess technically it's a japplet, if I'm using > Swing instead of AWT, or at least that is my current > understanding. :-) > > Thanks again for the help. > > -- Larry > > "rwilkman" <rwilkman@inprise.com> wrote in message > news:38F4917E.85ECBEB@inprise.com... > > Larry: > > > > http://www.got.net/~rwilkman has sample applets that load images and you > > can look at the source. > > > > You should probably go over the applet basics stuff and the "why you > > probably shouldn't write applets" article there, as well. By using JFC, > > you've set yourself up for quite a bit of frustration already. > > Actually, by using Applets as your intro to Java you've really set > > yourself up for a lot of frustration. > > > > -Rich > > > > Larry Maturo wrote: > > > > > > Hello, > > > > > > I'm an old Delphi hand trying to switch to Java. I need to know what > the > > > Swing equivalent is to the Delphi TImage so I can put a client's company > > > logo up on the applet I'm creating. Also, I am attempting to use the > Swing > > > panel component to replace the Delphi TShape, since I need to have a set > > > of buttons act like a radio button group, but have the selected button > > > surrounded with a colored border. This is part of a GUI standard I have > > > to follow. My problem with this is that the Swing button componet I'm > > > using, when placed on top of a panel component, changes color when the > > > panel component changes color. I can't figure out how to change this > > > behaviour. Should I be using something instead of the panel component > of > > > Swing? > > > > > > Any help will really be appreciated. > > > > > > -- Larry Maturo > > > lmaturo@austin.rr.com - home > > > lmaturo@athensgroup.com - work > > > > -- > > ===== > > Rich Wilkman > > Senior Quality Assurance Engineer > > JBuilder Team > > > > If something in this post looks like an opinion, walks like an > > opinion and quacks like an opinion, it's mine and not that of > > my employer. > > > > If you are reading this from a newsgroup post, don't send mail. > > ===== -- ===== Rich Wilkman Senior Quality Assurance Engineer JBuilder Team If something in this post looks like an opinion, walks like an opinion and quacks like an opinion, it's mine and not that of my employer. If you are reading this from a newsgroup post, don't send mail. =====
Technical Details
Message-ID:
<38FB4073.B701014A@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8d0iv3$6ig2@bornews.borland.com> <38F4917E.85ECBEB@inprise.com> <8d3evu$t6k7@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,308346f8788bc1f9 X-Google-Attributes: gid111d45,public From: rwilkman <rwilkman@inprise.com> Subject: Re: Delphi Equivalents in Swing Date: 2000/04/17 Message-ID: <38FB4073.B701014A@inprise.com> X-Deja-AN: 612309165 Content-Transfer-Encoding: 7bit References: <8d0iv3$6ig2@bornews.borland.com> <38F4917E.85ECBEB@inprise.com> <8d3evu$t6k7@bornews.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing