[H-GEN] Java and Forte

Frank Brand fbrand at uq.net.au
Sat Apr 14 01:49:33 EDT 2001


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

mmm...replying to myself...must be going nutty.

But....for information of anyone seeking the answer to the same problem.

Incidentally, I find Forte pretty neat since it minimises the amount of
typing I have to do and that cuts out a gazillion coding errors. In GUI
programming most of the coding is setting up the Windows and pages. The
functionality coding is usually the smallest part so having the GUI
stuff all done means I miss out on all the typo errors.

Most of my coding errors are leaving out semi-colons or brackets and the
error message might refer to something many lines away.


1.Add a panel. 
2.Add two radio buttons onto the panel. 
3.Select the panel in the Component Inspector window. 
4.Click the Code Generation tab. 
5.Choose Post-Creation code, add: ButtonGroup btg = new ButtonGroup();
6.Select radioButton1. 
7.Click the Code Generation tab. 
8.Choose Post-Init code, add: btg.add(radioButton1); 
9.Repeat for radioButton2, and so on. 


Frank Brand wrote:
> 
> [ Humbug *General* list - semi-serious discussions about Humbug and  ]
> [ Unix-related topics.  Please observe the list's charter.           ]
> [ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]
> 
> I have been playing with Forte for Java but am having a problem with
> grouping of radio buttons.
> 
> Coding long hand I can declare a new ButtonGroup and add radio buttons
> to that group but I can not seem to find a similar automatic
> functionality in Forte.
> 
> I can not believ that the functionality is not there...can anyone fill
> me in on this?
> --
> Frank Brand
> E-mail:- fbrand at uq.net.au
> Home Page:-http://www.uq.net.au/~zzfbrand
> 
> --
> * This is list (humbug) general handled by majordomo at lists.humbug.org.au .
> * Postings to this list are only accepted from subscribed addresses of
> * lists 'general' or 'general-post'.

-- 
Frank Brand
E-mail:- fbrand at uq.net.au
Home Page:-http://www.uq.net.au/~zzfbrand

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list