add(BorderLayout.CENTER,new JScrollPane(text));
JScrollPane scrollPane = new JScrollPane(text); Dimension dim = scrollPane.getPreferredSize(); dim.height = 250; scrollPane.setPreferredSize(dim); add(BorderLayout.CENTER,scrollPane);
		About()		{			setLayout(new BorderLayout());			JLabel caption = new JLabel(appName + " "				+ appVersion + " installer");			Font font = caption.getFont();			caption.setFont(new Font(font.getFamily(),font.getStyle(),24));			add(BorderLayout.NORTH,caption);			JEditorPane text = new JEditorPane();			String readme = installer.getProperty("app.readme");			try			{				text.setPage(getClass().getResource(readme));				text.setEditable(false);			}			catch(IOException io)			{				text.setText("Error loading '" + readme + "'");				io.printStackTrace();			}			add(BorderLayout.CENTER,new JScrollPane(text));		}