Re: [Java-gnome-developer] Re: Some questions from the tutorial.
Brought to you by:
afcowie
From: Rishabh M. <rma...@gm...> - 2004-10-14 19:17:33
|
I didnt find a solution persay. All i did was started using glade to do all the GUI designing work. That took care of everything. I would suggest doing the same. It really cleans up your code. --Rishabh On Wed, 13 Oct 2004 20:42:51 -0400, Skip Coon <sco...@gm...> wrote: > Rishabh, > > I have also been going through the tutorial and have come against the > same problem you have with the event listener . How did you resolve > it ? > > scoon > > > > > On Sun, 10 Oct 2004 13:10:36 -0500, Rishabh Manocha <rma...@gm...> wrote: > > Thanks for writing back, but i have managed to slove this problem. My > > problem now is the About window not accepting any click events. > > I will reply to the e-mail you sent. > > Thanks > > --Rishabh > > > > > > > > > > On Sun, 10 Oct 2004 14:47:24 +0100, Mark Howard <mh...@ti...> wrote: > > > Hi, > > > > > > Sorry for taking so long to reply. Do you have a call to showAll() in your code? > > > > > > > > > > > > On Sun, Sep 19, 2004 at 05:29:21PM -0500, Rishabh Manocha wrote: > > > > > > > > public void createMenu() { > > > > MenuBar bar = new MenuBar(); > > > > MenuItem child = new MenuItem("File",false); > > > > Menu file = new Menu(); > > > > MenuItem quit = new MenuItem("Quit",false); > > > > quit.addListener(new ItemListener() { > > > > public void itemEvent(ItemEvent event) { > > > > fileExit(); > > > > } > > > > }); > > > > file.append(quit); > > > > child.setSubmenu(file); > > > > bar.append(child); > > > > this.app.setMenuBar(bar); > > > > } > > > > > > > > However this does not show a menubar at all. I feel I am so close but > > > > yet so far. > > > > > > -- > > > .''`. Mark Howard > > > : :' : > > > `. `' http://www.tildemh.com > > > `- mh...@de... | mh...@ti... > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > Use IT products in your business? Tell us what you think of them. Give us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > > > |