O pessoal…
alguém tem um look fácil de usar, com exemplos…
não to conseguindo usar isso direito…
UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );
// OU
UIManager.setLookAndFeel( UIManager.getLookAndFeel() );
// OU
UIManager.setLookAndFeel( "uma.classe.do.LookAndFeel" );
Cara eu uso a GUI do netbeans normalmente e depois soh coloco esse código q tu postou???
sim!
Não vá esquecer do try-catch…mais aqui:
http://www.javaalmanac.com/egs/javax.swing/LookFeel.html
Um montão de L&F´s:
http://javootoo.l2fprod.com/
use o netbeans apenas se saber o que ele está fazendo!
você nao pode pular nenhuma faze de aprendizado…
por enquanto continue fazendo seus programas no eclipse
na MÃO linha por linha [claro use code completation] após você
saber MUITO BEM swing use o netbeans para fazer as GUI [forms]
*vale uma brincada no VEP
e continue codificando no eclipse…
valeu ? até mais…
**vá com calma nessa sua empolgação…
Adicione o JAR no seu projeto.
[quote]# In the Projects window, right-click the project node and choose Properties. Select Compiling Sources in the left panel of the dialog box.
Click Add JAR/Folder, select JavaGames/Libraries/jcardshark-core.jar, and click OK. The JAR file is added to the project’s classpath.[/quote]
Vê se isso ajuda:
http://blogs.sun.com/roller/page/geertjan?entry=simple_extension_of_netbeans_component
http://platform.netbeans.org/tutorials/nbm-palette-api2.html
http://computing.ee.ethz.ch/sepp/netbeans-2.0-to/Users_Guide/usergd-using-div-32.html
[quote=danieldestro]UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );
// OU
UIManager.setLookAndFeel( UIManager.getLookAndFeel() );
// OU
UIManager.setLookAndFeel( "uma.classe.do.LookAndFeel" );
[/quote]
Eu estou utilizando o NetBeans pra criar a GUI.
Baixei um pacote ( NimROD Look And Feel ), adicionei ele no classpath.
Como faço pra reconhecer ele no netbeans?!
Abraços;
Como faço isso?
To começando com NetBeans agora. Nem sei nada sobre ele.
:S
[quote=danieldestro][quote]# In the Projects window, right-click the project node and choose Properties. Select Compiling Sources in the left panel of the dialog box.
Click Add JAR/Folder, select JavaGames/Libraries/jcardshark-core.jar, and click OK. The JAR file is added to the project’s classpath.[/quote][/quote]
Existe algum meio de fazer com que os componentes do pacote que eu quero adicionar fiquem na mesma “paleta” que os componentes do Swing, Awt etc?