Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » OSGi Enterprise Tools » Using OSGI(OSGI)
Using OSGI [message #1393943] Fri, 04 July 2014 14:23
Drew Jocham is currently offline Drew JochamFriend
Messages: 8
Registered: June 2014
Junior Member
I am making a programing using Swing. I am also using OSGI via bnd tools to make it more modular. I was able to create the first bundle but ran into a issue. Each class is all linked to the first class and I am calling each of those classes in the first class. If I understand this right I have to put each class into its own package, which I did. When I add the other packages to the main class bundle I still can not call something like
(new class()) in the main class.

I am not using the interface method at the moment because I am only using a constructor which will set up the GUI via swing then the methods will be below it. Is this a mistake? I plan is to use OSGI like this:

button 1 was pressed button 2 pressed
Class 1 with main GUI and its own package---------->Class 2, new GUI, new package, its own bundle,--------->Class 3, new GUI, new package, and its own bundle.

I hope I was clear.
Previous Topic:Creating Bundles OSGI:
Next Topic:Osgi - Razberry /dev/ttyAMA0 doesn't exist
Goto Forum:

Current Time: Tue Jul 23 18:17:12 GMT 2024

Powered by FUDForum. Page generated in 0.04443 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top