Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #359

How to determine if a JCo

From "Orlando" <orlando@THRWHITE.remove-dii-this>
Subject How to determine if a JCo
Message-ID <1165640664.144009.182990@79g2000cws.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:27 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
I like to write a method that will set the font of a JMenuBar and all
menu items in that Menu bar.  I can find any components inside the
menubar using the getComponents() method.  How can one determine if any
of these components is a container?  I would like to recursively go
through every item in the menus and sub-menus and set the font of those
menuitems as per the user preferences.

Any suggestions?

Saludos,

Orlando
orlandoamador@yahoo.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar


Thread

How to determine if a JCo "Orlando" <orlando@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: How to determine if a "Orlando" <orlando@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: How to determine if a "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000

csiph-web