TextSnippets.com

Revision as of 15:23, 21 June 2006 by AboutUsBot (talk | contribs) (Page Updated by AboutUsBot)



(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Title

Text* Snippets: TextDrive Snippets courtesy of Peter Coopers handy little app

Description

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Top Tags Cloud

XSLT actionscript apache awk bash cli cron css django dns email expressionengine fastcgi firefox flash freebsd google html instiki java javascript lighttpd linux mac movabletype mysql osx perl php python rails recipe redirect regex ruby rubyonrails searchbox shell sql ssh subversion svn sysadmin textdrive textpattern tiger tsql typo unix xhtml

package looksAndFeels ; import javax . swing .*; import javax . swing . UIManager .*; import java . awt . event .*; public class ThemeChanger extends JFrame { ThemeChanger __instance ; public ThemeChanger () { super (" Swing Theme Changer "); __instance = this ; this . setSize ( 400 , 200 ); JMenuBar appMenu = new JMenuBar (); appMenu . add ( makeLaFMenu ()); this . setJMenuBar ( appMenu ); this . setVisible ( true ); } private JMenu makeLaFMenu () { JMenuItem tempItem ; JMenu lafMenu = new JMenu (" Supported Themes "); LookAndFeelInfo [] supportedLAFs = UIManager . getInstalledLookAndFeels (); for ( int ii = 0 ; ii



Retrieved from "http://aboutus.com/index.php?title=TextSnippets.com&oldid=2503536"