Commits

Lucas Kreutz committed 01b1fa0

Closing only the about window

  • Participants
  • Parent commits f7b9401

Comments (0)

Files changed (1)

src/br/ufrgs/inf/blogindexer/ui/About.java

 	 */
 	public About() {
 		setTitle("About");
-		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
+		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
 		setBounds(100, 100, 450, 149);
 		contentPane = new JPanel();
 		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
 		JTextPane txtpnAuthors = new JTextPane();
 		txtpnAuthors.setText("Blog Indexer 2012\r\nAuthors:\r\n - Adolfo Henrique Shneider\r\n - Lucas José Kreutz Alves\r\n\r\nInstituto de Informática\r\nUniversidade Federal do Rio Grande do Sul");
 		GroupLayout gl_contentPane = new GroupLayout(contentPane);
-		gl_contentPane.setHorizontalGroup(gl_contentPane.createParallelGroup(Alignment.LEADING).addGroup(Alignment.TRAILING, gl_contentPane.createSequentialGroup().addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addComponent(txtpnAuthors, GroupLayout.PREFERRED_SIZE, 424, GroupLayout.PREFERRED_SIZE)));
-		gl_contentPane.setVerticalGroup(gl_contentPane.createParallelGroup(Alignment.LEADING).addGroup(gl_contentPane.createSequentialGroup().addComponent(txtpnAuthors, GroupLayout.PREFERRED_SIZE, 251, GroupLayout.PREFERRED_SIZE).addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
+		gl_contentPane.setHorizontalGroup(gl_contentPane.createParallelGroup(Alignment.TRAILING).addComponent(txtpnAuthors, GroupLayout.DEFAULT_SIZE, 438, Short.MAX_VALUE));
+		gl_contentPane.setVerticalGroup(gl_contentPane.createParallelGroup(Alignment.LEADING).addGroup(gl_contentPane.createSequentialGroup().addContainerGap().addComponent(txtpnAuthors, GroupLayout.DEFAULT_SIZE, 260, Short.MAX_VALUE).addGap(26)));
 		contentPane.setLayout(gl_contentPane);
 	}
 }