/fusion

Framework library for application development.

Primary LanguageKotlinGNU Lesser General Public License v3.0LGPL-3.0

Fusion

Jitpack License: LGPL-3.0

Code examples

Writing a simple application:

class ExampleApplication(args: Array<String>) : XApplication(args) {
    
    init {
        this.title = "Example"
        
        // Add a simple text
        this.contentPane.text("Hello, Fusion!")
        
        // Let's change the LookAndFeel
        this.uiConfig.lookAndFeel = NimbusLookAndFeel()
    }
    
    companion object {
    
        @JvmStatic
        fun main(args: Array<String>) {
            // No SwingUtilities.invokeLater() required!
            val app = ExampleApplication(args)
            app.run()
        }
    
    }
}

License

Copyright © 2019   Thomas Orlando, ATPC
Licensed under GNU Lesser General Public License, Version 3

For the full license text, see LICENSE.txt or https://www.gnu.org/licenses/.