Skip to content

A primitive application that can be expanded by creating java plugin file without changing the source code.

Notifications You must be signed in to change notification settings

VarunKhambhata/Primitive-Expandable-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Primitive-Expandable-App

A primitive application that can be expanded by creating java plugin file without changing the source code.

Content description

  • bin - A directory containing class files that are shared bewteen plugins and main application

  • DataFiles - A directory that contains compiled plugins that will be loaded in the main application

  • plugin source file - A directory that contains source code of plugins

  • PrimitiveExpandableApp.class - The main program
  • Element.java - The source code of one of the file from bin directory
  • GamePanel.java - The source code of one of the file from bin directory
  • TemplatePlugin.java - A template for creating new plugins

Creating a new Plugin

  • Copy and paste TemplatePlugin.java in the same directory.

    Rename the duplicate file to [Your Plugin Name].java, open the file and change the class & constructor name to [Your Plugin Name].

    After creating the new plugin compile the plugin with command as: " javac -d . [Your Plugin Name].java "

    (A new Plugin file will be added in DataFile directory)

Run the Program

Start the program with command: " java PrimitiveExpandableApp "

About

A primitive application that can be expanded by creating java plugin file without changing the source code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages