Look and Feel

11 respostas
S

O pessoal…
alguém tem um look fácil de usar, com exemplos…
não to conseguindo usar isso direito…

11 Respostas

danieldestro

UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() ); // OU UIManager.setLookAndFeel( UIManager.getLookAndFeel() ); // OU UIManager.setLookAndFeel( "uma.classe.do.LookAndFeel" );

S

Cara eu uso a GUI do netbeans normalmente e depois soh coloco esse código q tu postou???

danieldestro

sim!

Ironlynx

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/

keller

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… :wink:

**vá com calma nessa sua empolgação… :smiley:

danieldestro

Adicione o JAR no seu projeto.

danieldestro

# 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.

danieldestro

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

Spool

danieldestro:
UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() ); // OU UIManager.setLookAndFeel( UIManager.getLookAndFeel() ); // OU UIManager.setLookAndFeel( "uma.classe.do.LookAndFeel" );

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;

Spool

Como faço isso?

To começando com NetBeans agora. Nem sei nada sobre ele.

:S

Spool

danieldestro:
# 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.

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?

Criado 10 de fevereiro de 2005
Ultima resposta 4 de mai. de 2006
Respostas 11
Participantes 5