<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Últimas mensagens do tópico "barra de rolagem"]]></title>
		<link>http://www.guj.com.br/posts/list/13.java</link>
		<description><![CDATA[Últimas mensagens enviadas no tópico "barra de rolagem"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>barra de rolagem</title>
				<description><![CDATA[ Tenho esse codigo e preciso que tenha barra de rolagem em minhas textareas...como faço?<br /> <br /> Obrigado<br /> <br /> [code]<br /> package id.IGrafica;<br /> <br /> import java.awt.*;<br /> import javax.swing.JTextArea;<br /> import java.awt.Rectangle;<br /> import javax.swing.JPanel;<br /> import javax.swing.JScrollPane;<br /> import javax.swing.ImageIcon;<br /> import javax.swing.JLabel;<br /> import java.awt.Dimension;<br /> <br /> public class IGrafica extends Frame {<br />     <br />     private ImageIcon gifEscalonador; <br />     <br />     public IGrafica() {<br />         try {<br />             jbInit();<br />         } catch (Exception ex) {<br />             ex.printStackTrace();<br />         }<br />     }<br /> <br />     private void jbInit() throws Exception {<br />         this.setLayout(gridBagLayout1);<br />         gifEscalonador = new ImageIcon("logo.gif");<br />         Logs.setText("Logs");<br />         jLabel1.setText("Fila de Prontos");<br />         jLabel2.setText("Fila de Bloqueados");<br />         this.setMinimumSize(new Dimension(700, 700));<br />         figura.setLayout(null);<br />         this.add(logs, new GridBagConstraints(0, 5, 2, 1, 1.0, 1.0<br />                                               , GridBagConstraints.CENTER,<br />                                               GridBagConstraints.BOTH,<br />                                               new Insets(8, 7, 3, 17), 376, 117));<br />         this.add(Logs, new GridBagConstraints(0, 4, 1, 1, 0.0, 0.0<br />                                               , GridBagConstraints.WEST,<br />                                               GridBagConstraints.NONE,<br />                                               new Insets(0, 23, 0, 127), 12, 0));<br />         this.add(figura, new GridBagConstraints(0, 3, 2, 1, 1.0, 1.0<br />                                                 , GridBagConstraints.CENTER,<br />                                                 GridBagConstraints.BOTH,<br />                                                 new Insets(0, 7, 0, 17), 356,<br />                                                 91));<br />         this.add(listaProcesso, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0<br />                 , GridBagConstraints.CENTER, GridBagConstraints.BOTH,<br />                 new Insets(6, 7, 0, 0), 174, 170));<br />         this.add(listaBloq, new GridBagConstraints(1, 1, 1, 1, 1.0, 1.0<br />                 , GridBagConstraints.CENTER, GridBagConstraints.BOTH,<br />                 new Insets(0, 34, 0, 17), 161, 172));<br />         this.add(jLabel2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0<br />                                                  , GridBagConstraints.WEST,<br />                                                  GridBagConstraints.NONE,<br />                                                  new Insets(20, 41, 0, 77), 4,<br />                                                  0));<br />         this.add(jLabel1, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0<br />                                                  , GridBagConstraints.WEST,<br />                                                  GridBagConstraints.NONE,<br />                                                  new Insets(20, 14, 0, 76), 23,<br />                                                  0));<br />        <br /> <br />     }<br /> <br />     JTextArea listaProcesso = new JTextArea();<br />     JTextArea listaBloq = new JTextArea();<br />     JPanel figura = new JPanel();<br />     JTextArea logs = new JTextArea();<br />     JLabel Logs = new JLabel();<br />     JLabel jLabel1 = new JLabel();<br />     JLabel jLabel2 = new JLabel();<br />     GridBagLayout gridBagLayout1 = new GridBagLayout();<br />    ;<br />     <br />    <br /> <br />     /*public void insereFig(Graphics g)<br />     {<br />         gifEscalonador.paintIcon(this,g,180,0);<br />     }*/<br />     <br />     public void showLogsUser(String logs)<br />     {<br />         this.logs.setText(this.logs.getText() +"\n"+ logs);<br />         <br />     }<br />     <br />     public void showListaProntos(String processo)<br />     {<br />         this.listaProcesso.setText(this.listaProcesso.getText() +"\n"+ processo);<br />     }<br />     <br />     public void showListaBloq(String processo)<br />    {<br />        this.listaBloq.setText(this.listaBloq.getText() +"\n"+ processo);<br />    }<br /> <br /> <br /> <br /> }[/code]]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/posts/preList/41171/219274.java</guid>
				<link>http://www.guj.com.br/posts/preList/41171/219274.java</link>
				<pubDate><![CDATA[Tue, 12 Sep 2006 12:15:44]]> GMT</pubDate>
				<author><![CDATA[ albjava]]></author>
			</item>
			<item>
				<title>Re:barra de rolagem</title>
				<description><![CDATA[ algo do tipo:<br /> <br /> [code]<br /> JTextArea textArea = new JTextArea();<br /> JScrollPane scrollPane = new JScrollPane(textArea);<br /> [/code]<br /> <br /> O JScrollPane é um pane com barras de rolagem horizontal e vertical...<br /> <br /> Abraço!]]></description>
				<guid isPermaLink="true">http://www.guj.com.br/posts/preList/41171/219279.java</guid>
				<link>http://www.guj.com.br/posts/preList/41171/219279.java</link>
				<pubDate><![CDATA[Tue, 12 Sep 2006 12:21:47]]> GMT</pubDate>
				<author><![CDATA[ cassio]]></author>
			</item>
	</channel>
</rss>