Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
public class Main { | |
public static void main(String[] args) { | |
int valor = 1; | |
switch(valor){ | |
case 1: System.out.println("Valor é 1"); | |
System.out.println("Valor é 1 - outra mensagem"); | |
break; | |
case 2: System.out.println("Valor é 2"); |
Original link: http://www.concentric.net/~Ttwang/tech/inthash.htm
Taken from: http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm
Reformatted using pandoc
Thomas Wang, Jan 1997
last update Mar 2007
import javax.swing.JFrame; | |
class CPrincipal { | |
public static void main (String[] args){ | |
JFrame janela = new JFrame(); | |
janela.setSize(500,300); | |
janela.setVisible(true); | |
} |
Ext.define('MyApp.view.WorldMap', { | |
extend: 'Ext.draw.Component', | |
alias: 'widget.worldmap', | |
gradients :[{ | |
id: 'gradientId', | |
angle: 45, | |
stops: { | |
0: { | |
color: '#fdf0be' |
Curso Java Básico Aula 01: Introdução e Dicas para quem está Começando | |
Todas as aulas já publicadas: http://www.loiane.com/2013/10/curso-java-basico-java-se-gratuito | |
Java, Curso Java, Curso Java Gratuito, Curso Java Grátis, Java SE | |
Youtube: | |
[Curso Java Básico] Aula 13: Operadores (Aritiméticos, Lógicos e Relacionais) | |
Mais infos e links: http://www.loiane.com/2013/10/curso-java-basico-java-se-gratuito/ |
form com combobox e grid - carregar form com combobox | |
upload de file com textfield | |
combobox com multipo displayfield - OK | |
marcar items combobox com multiseleçao | |
fazer submit de form sem Ex.Ajax.request | |
store - tratamento de erro e mensagens do servidor | |
grid com paginação, ordenação e filtro/busca | |
exemplo buscando cep e carregando endereço automaticamente | |
ExtJS 4: de dev para produção | |
Ext.getCmp é o FIM DO MUNDO! NÃO USE!!!!!! |
Mais um exemplo MVC de ExtJS 4 aqui no blog. Hoje vamos ver o código do exemplo <a href="http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/multiselect/multiselect-demo.html" target="_blank">MultiSelect and ItemSelector – Form</a>. | |
image | |
Vamos lá! | |
<h2>Estrutura do Projeto:</h2> | |
imagem | |
<h2>Model</h2> | |
<h2>Store</h2> | |
<h2>View</h2> |
<!doctype html> | |
<html> | |
<head> | |
<title></title> | |
<style> | |
body { | |
background: white; | |
text-align: center; | |
padding: 20px; | |
font-family: Georgia, serif; |
TV Shows - 2011 | |
- The Big Bang Theory | |
- True Blood | |
- Game of Thrones | |
- Californication | |
- Lost Girl | |
- Fringe | |
- Supernatural | |
- Gossip Girl | |
- 90210 |
[code lang="js" firstline="1" toolbar="true" collapse="false" wraplines="false"][/code] | |
[code lang="js" firstline="1" toolbar="true" collapse="false" wraplines="false" highlight="11"][/code] |