Desktop/Mobile JavaFX application framework

Related tags

GUI basilisk
Overview
Basilisk

Build Status (travis) Coverage Status (coveralls) Coverage Status (codecov)

Technical Debt Dependency Status

Download Download

Apache License 2 2017 basilisk donations Patreon f96854

Basilisk is desktop/mobile application development platform for the JVM. Inspired by Griffon, Basilisk leverages JavaFX and JavafXPorts to bring the same codebase to desktop and mobile platforms alike.

Griffon developers should feel right at home when trying out Basilisk. Many of Griffon’s features and commands are shared with Basilisk.

Seasoned Java developers will also be able to pick up the pace quickly, as the framework relieves you of the burden of maintaining an application structure, allowing you to concentrate on getting the code right.

Quickstart

The recommended way to get started with a Basilisk project is to use a Lazybones project template and Gradle. You can install these tools with SDKMAN.

$ curl -s http://get.sdkman.io | bash
$ sdk install lazybones
$ sdk install gradle

Next register the basilisk-lazybones-templates repository with Lazybones' config file. Edit $USER_HOME/.lazybones/config.groovy

bintrayRepositories = [
    "basilisk/basilisk-lazybones-templates",
    "pledbrook/lazybones-templates"
]

List all available templates by invoking the following command

$ lazybones list
Available templates in basilisk/basilisk-lazybones-templates
basilisk-application
basilisk-plugin

Select a starting template from the list and invoke the create command

$ lazybones create basilisk-application sample

Compile, run and test the project with any of these commands

$ gradle build
$ gradle test
$ gradle run
$ gradle launchIPhoneSimulator
You might also like...

Tray Icon implementation for JavaFX applications. Say goodbye to using AWT's SystemTray icon, instead use a JavaFX Tray Icon.

Tray Icon implementation for JavaFX applications. Say goodbye to using AWT's SystemTray icon, instead use a JavaFX Tray Icon.

FXTrayIcon Library intended for use in JavaFX applications that makes adding a System Tray icon easier. The FXTrayIcon class handles all the messy AWT

Dec 30, 2022

DataFX - is a JavaFX frameworks that provides additional features to create MVC based applications in JavaFX by providing routing and a context for CDI.

What you’ve stumbled upon here is a project that intends to make retrieving, massaging, populating, viewing, and editing data in JavaFX UI controls ea

Dec 29, 2022

A mobile provider is a program that has a fixed offer of phones as well as packages, where we can submit requests for the same.

 A mobile provider is a program that has a fixed offer of phones as well as packages, where we can submit requests for the same.

A mobile provider is a program that has a fixed offer of phones as well as packages, where we can submit requests for the same.

Apr 27, 2022

Docking framework for JavaFX platform

Docking framework for JavaFX platform

Docking framework for JavaFX platform AnchorFX is a gratis and open source library for JavaFX to create graphical interfaces with docking features Anc

Oct 15, 2022

A Java framework for creating sophisticated calendar views (JavaFX 8, 9, 10, and 11)

A Java framework for creating sophisticated calendar views (JavaFX 8, 9, 10, and 11)

CalendarFX A Java framework for creating sophisticated calendar views based on JavaFX. A detailed developer manual can be found online: CalendarFX 8 D

Jan 6, 2023

A JavaFX UI framework to create fully customized undecorated windows

A JavaFX UI framework to create fully customized undecorated windows

CustomStage A JavaFX undecorated stage which can fully be customized Donations If this project is helpful to you and love my work and feel like showin

Jan 6, 2023

A framework for easily creating forms for a JavaFX UI.

A framework for easily creating forms for a JavaFX UI.

FormsFX Forms for business application made easy. Creating forms in Java has never been this easy! Maven To use this framework as part of your Maven b

Dec 30, 2022

Lightweight JavaFX Framework for Kotlin

Lightweight JavaFX Framework for Kotlin

TornadoFX JavaFX Framework for Kotlin Important: TornadoFX is not yet compatible with Java 9/10 Oracle is intending to decouple JavaFX from the JDK. W

Dec 29, 2022

A lightweight RCP framework for JavaFX applications.

A lightweight RCP framework for JavaFX applications.

WorkbenchFX The one and only framework to build large JavaFX Applications! Maven To use this framework as part of your Maven build simply add the foll

Jan 8, 2023
Comments
  • Trouble following Quickstart

    Trouble following Quickstart

    I had the following issues when testing out the Quickstart guide.

    First I had a checkstyle error:

    <file name="/.../sample/src/main/java/org/example/ApplicationEventHandler.java">
       <error line="3" column="8" severity="error" message="Unused import - basilisk.core.BasiliskApplication." source="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck"/>
    </file>
    

    So I commented out the unused import in BasiliskApplication.

    Then I received the following error:

    Execution failed for task ':test'.
    > When running gradle with java 8, you must set the path to the old jdk, either with property retrolambda.oldJdk or environment variable JAVA6_HOME/JAVA7_HOME
    

    I tried setting JAVA7_HOME to the home directory of jdk7 on my Mac, but the same error still occurs.

    Bug 
    opened by mdeimel 5
  •  android of support is difficult ?

    android of support is difficult ?

    lazybones create basilisk-javafx-ios sample

    after edit build.gradle

    • build.gradle
    jfxmobile {
        ios {
            forceLinkClasses = ['org.example.**.*', 'basilisk.**.*', 'org.kordamp.basilisk.**.*']
        }
        android {
            applicationPackage = 'org.example'
        }
    }
    
    retrolambda {
        jdk '/usr/libexec/java_home -v 1.8'.execute().text
        oldJdk '/usr/libexec/java_home -v 1.7'.execute().text
         javaVersion JavaVersion.VERSION_1_7
    } 
    

    gradlew tasks gradlew android

    but stack error occuerd

    :createMainDexList FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':createMainDexList'.
    > Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF-8 -Dgroovy.source.encoding=UTF-8
      Exception in thread "main" com.android.dx.cf.iface.ParseException: InvokeDynamic not supported
        at com.android.dx.cf.cst.ConstantPoolParser.determineOffsets(ConstantPoolParser.java:226)
        at com.android.dx.cf.cst.ConstantPoolParser.parse(ConstantPoolParser.java:132)
        at com.android.dx.cf.cst.ConstantPoolParser.parseIfNecessary(ConstantPoolParser.java:124)
        at com.android.dx.cf.cst.ConstantPoolParser.getPool(ConstantPoolParser.java:115)
        at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:482)
        at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
        at com.android.dx.cf.direct.DirectClassFile.parseToEndIfNecessary(DirectClassFile.java:397)
        at com.android.dx.cf.direct.DirectClassFile.getAttributes(DirectClassFile.java:311)
        at com.android.multidex.MainDexListBuilder.hasRuntimeVisibleAnnotation(MainDexListBuilder.java:191)
        at com.android.multidex.MainDexListBuilder.keepAnnotated(MainDexListBuilder.java:167)
        at com.android.multidex.MainDexListBuilder.<init>(MainDexListBuilder.java:121)
        at com.android.multidex.MainDexListBuilder.main(MainDexListBuilder.java:91)
        at com.android.multidex.ClassReferenceListBuilder.main(ClassReferenceListBuilder.java:58)
      ...while preparsing cst 0005 at offset 0000001a
      ...while parsing org/kordamp/basilisk/runtime/core/controller/DefaultAction.class
    

    Please advice whether may be modified.

    opened by kimukou 1
  • Classpath order is wrong

    Classpath order is wrong

    It looks like the classpath order is wrong when running the application.

    Example: I have a class "MyClass" which also exist in "Dependency.jar".

    When running the application I expect that my own "MyClass" will override MyClass in Dependency.jar but instead, MyClass from Dependency.jar is used.

    This was tested in 0.4.0

    opened by tjonsson 1
Owner
Basilisk
Basilisk
It is a desktop application based on JavaFX to implement a Carmeter-GPS.

CarMeter_JavaFX It is a desktop application based on JavaFX to implement a Carmeter-GPS. Video View more Details about the project.---> Link to Video

Abdullah HAnfy 0 Nov 29, 2022
FXDesktopSearch - a Java and JavaFX based Desktop Search Application

FXDesktopSearch - The free search application for your desktop FXDesktopSearch is a Java and JavaFX based Desktop Search Application. It crawls a conf

Mirko Sertic 162 Oct 14, 2022
Java Desktop (JavaFX and Swing) Component Inspector

Java Desktop (JavaFX and Swing) Component Inspector A Tool for help you to inspect the location and properties of certain components in a window hiera

TangoraBox 21 Oct 28, 2022
Lib-Tile is a multi Maven project written in JavaFX and NetBeans IDE 8 and provides the functionalities to use and handle easily Tiles in your JavaFX application.

Lib-Tile Intention Lib-Tile is a multi Maven project written in JavaFX and NetBeans IDE and provides the functionalities to use and handle easily Tile

Peter Rogge 13 Apr 13, 2022
A hotel management system desktop application, built with java SWT/Swing

A hotel management system desktop application, built with java SWT/Swing, with tabs to manage bookings, rooms, customers, payments, cancellations, hotel inventory orders, catering and a plan to visualize all the reservations for the month.

null 1 Jan 12, 2022
A desktop application designed to serve the co-curricular uses of students, clubs and forums, and admins of United International University.

ECA Management System Made by "Team Apocalypse": S M Jishanul Islam Sadia Ahmmed Sahid Hossain Mustakim Description A desktop application designed to

S M Jishanul Islam 2 Jan 31, 2022
A core java-based desktop application that can secretly track users' activities, record screenshots and keys typed by the user

@Abhishek Tandon @Manoj Kumar Dewangan @Ritesh Barik Introduction This project is a core java-based desktop application that can secretly track users'

Vaibhav Biturwar 0 Apr 2, 2022
The Thinker™ desktop application

The Thinker™ desktop application The Thinker is a math simulator instrument to perform visual examination of numerous computational processes running

Nikolai Varankine 2 May 11, 2022
null 4 Oct 21, 2022
an Application Framework for implementing the MVVM Pattern with JavaFX

mvvmFX is an application framework which provides you necessary components to implement the MVVM pattern with JavaFX. MVVM is the enhanced version of

Alexander Casall 438 Dec 28, 2022