Spare Time Labs 2.0

Welcome


EazyCNC


jDraft 2.0




PureJavaComm


PIC CDC ACM


Weather


Ten-Buck Furnace



H8S Bootloader



Camera Calibration



Multitouch



Myford VFD


Fun with HC08


bl08


printf II


Java Goes Native



Densitometer


printf


jApp


Igloo


New Furnace


New Furnace
Part II


Linux 101


H8S/gcc


Quickie


Gas Fired Furnace


Down Memory Lane


Exlibris


Wheel Patterns


Glitches


CHIP-8


eDice


Animato


jDraft


JNA Benchmark


Contact Info
Created 28.10.2006

jApp

a Java Desktop Application Framework


Download Files

Yeah, yeah, yadda yadda, been there, done that, now just get me to the Downloads Page!

This is the jApp official home page.

Introduction

jApp is a Pure Java based framework for creating applications based on the now universal document/desktop metaphor.

What it is

  • Pure Java
  • Application Framework
  • Cross Platform
  • Document/Desktop
  • Native Application
  • Real Programmers Toolkit
  • What it isn't

  • Integrated Development Enviroment
  • Drag and Drop Visual Coding
  • Web Application Framework
  • Next Great Widget Toolkit
  • Swing / SWT Replacement
  • jApp is being offered as is in the hope that it will be usefull but without any warranty. It is GPL licensed so feel free to use it as you see fit, try building an application on it or just extract knowledge ideas and code snippets.

    History

    jApp was not born yesterday, the roots of this framework go back to last century (late 1980's) and it has gone through several incarnations under various aliases in Pascal,  C, C++ and now in Java. Interestingly, over the years the size/complexity of the framework has actually shrunk as nonessential functionality has been refactored out. There is a history behind jApp that I hope to publish some day. I mention the long history in order to emphasize that jApp was born from genuine needs and has been battle tested in real combat conditions. I see that as the real value of this project i.e. that the code has actually been written to fulfill real needs, been debugged and used in real life. This is no lab experiment or academic rehearsal. Having said that I feel it is just fair to mention that jApp has been essentially a one man effort, and thus may not compare with industrial strength products. On the other hand, in some respects it may even surpass them being lean and mean after years of exercising.

    Appetizer

    The main feature is naturally the Application/Document framework that manages the full document life cycle. With just a few lines of code you can create within minutes your first cross platform desktop application

    Main class for a fullblown application with full Desktop integration does not get much simpler:

    package mypackage;
    import jApp.*;

    public class MyApplication extends Application{
     
     
    public MyApplication(String[] args) {
       
    super(args);
        getFileTypeRegistry
    ().registerFileType(".mydoc""application/vnd.mycompany.mydoc",MyDocument.class,"MyDoc File");
     
    }
     
     
    public static void main(String[] args) {
       
    MyApplication myApp=new MyApplication(args);
        myApp.run
    ();
     
    }
    }

    A minimal but functional document class can be easily created by deriving from Document class:

    package mypackage;
    import jApp.*;

    public class MyDocument extends Document {
     
    public void createWindows() {
       
    new MyDocumenWindow(this);
     
    }
    }

    All we need now is a window to show the document in, derived from DocumentWindow:

    package mypackage;
    import jApp.*;

    public class MyDocumenWindow extends DocumentWindow {
     
    public MyDocumenWindow(Document document) {
       
    super(document);
     
    }
    }

    This gets you a fully functional cross platform application with desktop integration that is able to create, save and open documents, manage recent documents and shuffle it's windows.

    Documentation

    Software components, especially without documentation, are hard to use and require real commitment, they are not for the casual passerby. jApp comes with little documentation in the form of the javadocs. I hope to write some tutorials as my spare time allows.

    You can browse the javadoc on-line. or download the zip-file

    Source Code

    Of course you can download the source code and the ExampleProject ready to be built with Eclipse .

    Support

    No support is offered without an agreement, after all this is Free Software, but you are welcome to contact me through email.

    cheers Kusti / 28.10.2006