<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Últimas mensagens do tópico "Pegar o textfield do JFileChooser"]]></title>
		<link>http://www.guj.com.br/posts/list/5.java</link>
		<description><![CDATA[Últimas mensagens enviadas no tópico "Pegar o textfield do JFileChooser"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Pegar o textfield do JFileChooser</title>
				<description><![CDATA[ Bom gente...sou novo aki no forum e estou com um probleminha!<br /> <br /> Estou querendo otimizar o meu jfilechooser, ele esta em um painel, e quando o usuario clicar em um diretório gostaria que os arquivos fossem listados em uma jlist ao lado do jfilechooser. Para deixar bem parecido com o windows explorer sabe...<br /> <br /> Não encontrei nenhuma maneira de listar os arquivos sem a necessidade de clicar no botão open... porém, se conseguir retirar o texto do textfield do jfilechosser acredito q consigo criar um evento...<br /> <br /> pois o caminho do diretorio que fica no textfield do jfilechooser muda conforme a seleção da pasta....<br /> <br /> ou se houver alguma maneira mais facil de fazer isso...&gt;&lt;<br /> <br /> Abraço galera!!!<br /> No aguardo!<br /> <br /> Jhow]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/991667/pegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/991667/pegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Sun, 7 Feb 2010 15:10:00]]> GMT</pubDate>
				<author><![CDATA[ jscamara]]></author>
			</item>
			<item>
				<title>Re:Pegar o textfield do JFileChooser</title>
				<description><![CDATA[ eu ainda desconheço algum componente swing que faça isso sozinho.<br /> <br /> Eu imagino que vc terá que fazer tudo isso na mão mesmo.<br /> Por ex.: se vc fizer <br /> [code]File fileC = new File("C:/");<br /> File arquivos[] = fileC.listFiles();[/code]<br /> vc consegue listar os arquivos do C:\ e popular o JList.<br /> <br /> Daí em diante vai da sua imaginação.<br /> <br /> Espero ter ajudado]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/992174/repegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/992174/repegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Mon, 8 Feb 2010 16:27:56]]> GMT</pubDate>
				<author><![CDATA[ eliangela]]></author>
			</item>
			<item>
				<title>Re:Pegar o textfield do JFileChooser</title>
				<description><![CDATA[ Intaum...consegui retirar o valor do textfield do jfilechooser...na verdade foi até facil...rssr era soh usar um .getSelectedFile(), lol...<br /> agora o dificil ta sendo criar um evento pra assim q o cara clicar em outra pasta os arquivos aparecerem...&gt;&lt;<br /> <br /> lol...<br /> <br /> valeu a ajuda!<br /> Se alguem souber que evento faz isso dá um alô!<br /> <br /> Vlw!]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/992178/repegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/992178/repegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Mon, 8 Feb 2010 16:31:20]]> GMT</pubDate>
				<author><![CDATA[ jscamara]]></author>
			</item>
			<item>
				<title>Re:Pegar o textfield do JFileChooser</title>
				<description><![CDATA[ Hummm...<br /> Pelo que eu tinha entendido, vc queria atualizar um JList com os arquivos da pasta que vc escolhesse, como aparece em alguns choosers por aí.<br /> Como está na imagem do meu Windows Explorer]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/992192/repegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/992192/repegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Mon, 8 Feb 2010 16:53:56]]> GMT</pubDate>
				<author><![CDATA[ eliangela]]></author>
			</item>
			<item>
				<title>Re:Pegar o textfield do JFileChooser</title>
				<description><![CDATA[ Isso!!!<br /> <br /> exatamente...mas to tentando usar o evento mouseClicked mas num funciona &gt;&lt;<br /> <br /> ele num dispara o evento dentro da caixa de selecionar arquivos no Jfilechooser...&gt;&lt;<br /> eu seleciono o arquivo q eu quero...mas num dá certo<br /> <br /> estranho!<br /> <br /> vo tentar alguma coisa hj a noite....]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/992220/repegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/992220/repegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Mon, 8 Feb 2010 17:37:09]]> GMT</pubDate>
				<author><![CDATA[ jscamara]]></author>
			</item>
			<item>
				<title>Pegar o textfield do JFileChooser</title>
				<description><![CDATA[ é que o JFileChooser é só pra vc escolher arquivos mesmo. Já vem pronto unicamente com essa função.<br /> <br /> Se vc quiser fazer algo diferente, tem que ser na mão mesmo.]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/992223/pegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/992223/pegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Mon, 8 Feb 2010 17:39:21]]> GMT</pubDate>
				<author><![CDATA[ eliangela]]></author>
			</item>
			<item>
				<title>Re:Pegar o textfield do JFileChooser</title>
				<description><![CDATA[  <img src="http://www.guj.com.br/images/smilies/385970365b8ed7503b4294502a458efa.gif" border="0"> <br /> <br /> alguma dica por onde começar?]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/992229/repegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/992229/repegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Mon, 8 Feb 2010 17:46:12]]> GMT</pubDate>
				<author><![CDATA[ jscamara]]></author>
			</item>
			<item>
				<title>Pegar o textfield do JFileChooser</title>
				<description><![CDATA[ Putz... falei besteira!<br /> Vc tem que usar o JTree, e não o JList! Agora que eu vi isso!<br /> <br /> Já posto um exemplo!]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/992435/pegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/992435/pegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Tue, 9 Feb 2010 09:46:59]]> GMT</pubDate>
				<author><![CDATA[ eliangela]]></author>
			</item>
			<item>
				<title>Re:Pegar o textfield do JFileChooser</title>
				<description><![CDATA[ Intaum Eliangela... eu tinha feito com jtree inicialmente....mas se o computador tiver muitos diretorios e arquivos o programa fica lento...pois ele tem q listar todos os arquivos e diretorios do computador...<br /> <br /> no Jfilechooser ele eh mais rapido...<br /> <br /> &gt;&lt;<br /> <br /> vo tentar aqui novamente...com o jfilechooser...sinto q eu vo conseguir...kkkkkk]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/992565/repegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/992565/repegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Tue, 9 Feb 2010 11:45:27]]> GMT</pubDate>
				<author><![CDATA[ jscamara]]></author>
			</item>
			<item>
				<title>Re:Pegar o textfield do JFileChooser</title>
				<description><![CDATA[ Segue alguns links pra vc estudar um pouco:<br /> [url]http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html[/url]<br /> [url]http://java.sun.com/j2se/1.4.2/docs/api/index.html[/url]<br /> [url]http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-JTree.html[/url]]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/992573/repegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/992573/repegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Tue, 9 Feb 2010 11:52:49]]> GMT</pubDate>
				<author><![CDATA[ eliangela]]></author>
			</item>
			<item>
				<title>Re:Pegar o textfield do JFileChooser</title>
				<description><![CDATA[ [quote=jscamara]Intaum Eliangela... eu tinha feito com jtree inicialmente....mas se o computador tiver muitos diretorios e arquivos o programa fica lento...pois ele tem q listar todos os arquivos e diretorios do computador...<br /> <br /> no Jfilechooser ele eh mais rapido...<br /> <br /> &gt;&lt;<br /> <br /> vo tentar aqui novamente...com o jfilechooser...sinto q eu vo conseguir...kkkkkk[/quote]<br /> <br /> está lento com o JTree porque vc está buscando todos os diretórios na hora de abrir. vc pode fazer um código fazendo assim: "somente quando o usuário der um clique duplo em alguma pasta, daí vc vai abrir ela e procurar por sub-pastas"<br /> <br /> Espero ter ajudado]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/prepost/197599/992575/repegar-o-textfield-do-jfilechooser
</guid>
				<link>http://www.guj.com.br/prepost/197599/992575/repegar-o-textfield-do-jfilechooser
</link>
				<pubDate><![CDATA[Tue, 9 Feb 2010 11:54:35]]> GMT</pubDate>
				<author><![CDATA[ eliangela]]></author>
			</item>
	</channel>
</rss>
