mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 07:17:13 -06:00
SwingX: added test app
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user