Re: [Java-gnome-developer] Re: Some questions from the tutorial.
Brought to you by:
afcowie
From: Rishabh M. <rma...@gm...> - 2004-10-10 18:10:48
|
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... > |