public class ShowFrame extends JPanel
{
//Deklaration
JTextPane textflaeche;
JScrollPane scrollPane;
JButton button;
public ShowFrame(ArrayList al_linieauswahl)
{
textflaeche=new JTextPane();
textflaeche.setEditable(false);
String uebergabe=(String) al_linieauswahl.toString();
textflaeche.setText(uebergabe);
// Einfügen des Textes in TextPane
JScrollPane scrollPane = new JScrollPane(textflaeche);
// Definition: (x,y, width, height)
scrollPane.setBounds(5,5,10,10);
add(scrollPane);
/*Button=new JButton ("Zum Druckmenü");
button.setBounds(200,570,50,20);
add(button);*/
}//end Konstruktor
}//end class