SwingX: added test app

This commit is contained in:
Karl Tauber
2019-10-17 12:09:22 +02:00
parent 423c01074a
commit 7c77b857f6
5 changed files with 126 additions and 1 deletions

View File

@@ -88,6 +88,19 @@ tasks {
from( javadoc )
}
register( "testJar", Jar::class ) {
archiveBaseName.set( "flatlaf-test" )
from( sourceSets.test.get().output )
}
}
configurations {
create( "testArtifacts" )
}
artifacts {
add( "testArtifacts", tasks.getByPath( "testJar" ) )
}
publishing {

View File

@@ -204,7 +204,7 @@ public class FlatTestFrame
JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT );
}
protected void showFrame( JComponent content ) {
public void showFrame( JComponent content ) {
this.content = content;
contentPanel.getContentPane().add( content );