Hallo,
hat jemand Ahnung, warum im folgenden Code der Scrollbalken nicht erscheint, wenn er soll
hat jemand Ahnung, warum im folgenden Code der Scrollbalken nicht erscheint, wenn er soll
Code:
JScrollPane jsp;
StructFenster()
{
super("Struktogramm Nr." + (++openFrameCount),
true, //Größe änderbar
true,//schliessbar
true,//maximierbar
true);//minimierbar
setSize(350,350);
setLocation(xOffset*openFrameCount,yOffset*openFrameCount);
mxy=new Point(0,0);
fensterBreite=this.getWidth();
fensterHoehe=this.getHeight();
//leinwand.setBorder(BorderFactory.createEtchedBorder());
leinwand.setBackground(Color.WHITE);
jsp=new JScrollPane(leinwand);
cp.add(jsp,BorderLayout.CENTER);
statusleiste.setText(" ");
cp.add(statusleiste,BorderLayout.SOUTH);
}