Skip to content

Commit 7c1224b

Browse files
committed
DrawAsHeader example.
1 parent 8277492 commit 7c1224b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
10.4 KB
Loading

test/org/quinto/swing/table/view/TutorialAdvancedSpanCells.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static void main( String args[] ) throws Exception {
9898
.withSpan( new ModelSpan( "FAMILY_ID", "LAST_NAME" ).withColumns( "LAST_NAME" ) )
9999
.withSpan( new ModelSpan( "USER_ID", "FIRST_NAME" ).withColumns( "FIRST_NAME", "LAST_NAME" ) )
100100
.withSpan( new ModelSpan( "TOTAL_ID", "DEPARTMENT" ).withColumns( "DEPARTMENT", "FIRST_NAME", "LAST_NAME" ) )
101-
.withSpan( new ModelSpan( "DEPARTMENT", "DEPARTMENT" ).withColumns( "DEPARTMENT" ) ) );
101+
.withSpan( new ModelSpan( "DEPARTMENT", "DEPARTMENT" ).withColumns( "DEPARTMENT" ).withDrawAsHeader( true ) ) );
102102

103103
JFrame frame = new JFrame( "Test" );
104104
frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );

0 commit comments

Comments
 (0)