Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8663471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:59:34+00:00 2026-06-12T16:59:34+00:00

I’m pretty new to java and javafx 2. What I’d like to do is

  • 0

I’m pretty new to java and javafx 2.
What I’d like to do is an application that is basically a container for separate “modules” that can be added later.

The main application should be some sort of content browser that scans for modules in a folder.
Then, you can select the desired module (e.g., a small game) and open it INSIDE the main application (like a frame). I’d also like it if I could have an option to go full-screen (module only, without the main application).
The main application and the modules should also be able to communicate (e.g., sending settings like “difficulty” or “starting level” and receiving scores/results).

Do you have any idea how I should go about achieving modularity (without losing inter-communication)?

I tried to look it up on Google but I’m probably unaware of the correct technical terminology… so, any help would be appreciated!

Note: I’m a GUI noob (most of my programming experience is CLI-based and rather low-level).

Edit: Weird, it removes “hi!” from the first line… I guess there are rules that force us to be rude ;)…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T16:59:35+00:00Added an answer on June 12, 2026 at 4:59 pm

    Have a look at the ServiceLoader class in Java 6+, there is plenty of documentation for it on the interweb but the gist of it is that you can ask it for implementations of an interface found on the classpath that are configured. You could have the following interface for example:

    interface AppPlugin {
        Node getContentNode();
    
        String getName();
    }
    

    Plugins would then need to implement this interface and be configured to be loaded by the ServiceLoader. Check out the tutorial here:

    http://weblogs.java.net/blog/timboudreau/archive/2008/08/simple_dependen.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
I have a small JavaScript validation script that validates inputs based on Regex. I
I have a French site that I want to parse, but am running into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.