posted 16 years ago
Hi all, I'm having a little problem in getting a Scrollbar showing up. I have a bean with a JScrollPane and A JPanel inside it. I'm adding groups of Labels and textfields to it during runtime. The layout of the panel is set to null. The problem is in one of the TestFields, I'm displaying date and when I click the mouse inside it, a Calendar shows up. When I set the layout of the panel to grid, then all the labels and textfields, show up with the same size as the calendar and it looks really bad.When I've set the layout to null, the scrollbar does'nt show up. If I reduce the Calendar size, the user won't be able to recognise anything. Please help me with this.