Changeset 1710
- Timestamp:
- 01/10/12 20:50:14 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/rapla/components/calendarview/swing/AbstractSwingCalendar.java
r1707 r1710 66 66 JPanel jCenter = new JPanel(); 67 67 Locale locale; 68 protected JPanel jTitlePanel = new JPanel(); 68 69 69 70 70 Collection builders = new ArrayList(); … … 79 79 jHeader.setOpaque( false ); 80 80 jCenter.setOpaque( false ); 81 jTitlePanel.setOpaque( false);82 jTitlePanel.setLayout( new BorderLayout());83 jTitlePanel.add(jHeader,BorderLayout.CENTER);84 81 if (showScrollPane) { 85 82 setLayout(new BorderLayout()); … … 88 85 scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED); 89 86 scrollPane.setViewportView(jCenter); 90 scrollPane.setColumnHeaderView(j TitlePanel);87 scrollPane.setColumnHeaderView(jHeader); 91 88 scrollPane.getVerticalScrollBar().setUnitIncrement(10); 92 89 scrollPane.getHorizontalScrollBar().setUnitIncrement(10); … … 97 94 ,{TableLayout.PREFERRED,TableLayout.FILL} 98 95 })); 99 add(j TitlePanel,"1,0");96 add(jHeader,"1,0"); 100 97 add(jCenter,"1,1"); 101 98 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/rapla.jpg)