Skip to main content

[JXMonthView] JScrollPane don't scroll

2 replies [Last post]
julien1486
Offline
Joined: 2010-01-27
Points: 0

Hi !

In my application I want the users to select several days for a specified period ("Select the days you will be at work from 05/10/10 to 09/08/11", for example).

So I need to be able to display a large number of month and then I've added the JXMonthView to a JScrollpane but the scrollbar are never displayed.
I know that the JXMonthView's minimumSize/preferredSize is changing by listening to "preferredRowCount" property but the JScrollPane seems to be unaware of this.

Is it a bug or a misuse ?

Thanks a lot for your help.

Julien

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kleopatra
Offline
Joined: 2003-06-11
Points: 0

Julien,

could be a bug - would you please show a small runnable bla bla ... example demonstrating the problem?

Thanks
Jeanette

julien1486
Offline
Joined: 2010-01-27
Points: 0

It seems that my small runnable bla bla is working fine. So I guess it is related to a LayoutManager, especially the JGoodies' FormLayout.

The JXMonthView do his job :) Sorry to bother you for that.

Julien