Integrating jitsi in java-fx - javafx-8

I am developing an video calling application using javafx. And I need to integrate jitsi video GUI into javafx Swing node.
Is it possible or Do I have to use 'libjitsi' and implement GUI in javafx ?
Any suggestions would be appreciated.

If you're asking about how to embed Swing content into JavaFX, you can use a SwingNode.
It worked for me (I added a Swing PDF player in a JavaFX application)
Here is an example of how to perform this : http://docs.oracle.com/javafx/8/embed_swing/jfxpub-embed_swing.htm

This might be very late but still, I am posting the answer as seems to be a genuine question.
To use JavaFX with jitsi, developing with eclipse steps are as follows.
First, you require to install an addon of JavaFX in eclipse e. g. EFX
After adding above addon add JavaFX SDK to the project. The link: https://www.tutorialkart.com/javafx/install-javafx-in-eclipse-ide/
Then add the package entries to the manifest.mf files {in the package where you are executing} and felix.run.properties file.
And the project will run smoothly. Another thing if using a class with the superclass of Application then keep it in the different jar file add the entries of the jar to the build.xml(in copy jar section) and add the package entries to the manifest.mf files {in the package where you are executing} and felix.run.properties file.

Related

Deployable using mgwt and gwt-phonegap

I have just setup a project/run the gwt project(Eclipse) by looking into the wiki. Even I know about the standalone phonegap project build.But I don't understand how to create APK/IPA/windows deployable by using gwt-phonegap. Is there any tutorial available for explaining this?
Create an APK is a different history. You should create an Android project and include the compiled gwt and mgwt project into them (folder assets/www).
That urls might be useful:
https://developer.android.com/training/basics/firstapp/index.html?hl=it
https://developer.android.com/training/basics/firstapp/index.html?hl=it
http://docs.phonegap.com/en/2.1.0/guide_getting-started_android_index.md.html

How to create a Processing Language plugin for Eclipse?

I'm quite a noob programmer and I recently discovered Java Processing Language which can be run on Android.
So far I've been using a dedicated IDE to program it in but I've just found out I can program it in Eclipse which is my preferred IDE. The only problem is that they only tell you which libraries to import when creating a Processing project from a standard Java project. So every time I want to create a new project I have to create a Java project, go through all the import menus, search for the Processing system library, import the files, create a new class and import the library for the class.
Does anyone know how to create an eclipse plugin so I can just go to the NEW directory in eclipse and have a PROCESSING folder and a NEW PROCESSING PROJECT item that already has a generic class with the imported libraries?
I've been looking at online tutorials and I can't even figure out where to start.
The steps to create a Processing project from a Java one are explained here.
Thanks for any help!
I recommend having a look at the Proclipsing plugin which seems to do pretty much what you want to achieve. It's also open source so you can see how it was written and modify if you like.
A Processing project is a standard Java project with the Processing libraries added to build path. There is nothing more to Processing in this regard. So a specific Eclipse Processing plugin for this seems overkill (there are some other things like the different targets or samples that could make it useful though).
To easen up your current process: Create an Eclipse User Library for the Processing libraries. Menu Window > Preferences, Java > Build Path > User Libraries, New.... Add the Processing libraries. Now you can easily add the whole set to a project (right-click on the newly created Java project in the package explorer, Build Path > Add libraries > User Library).
If you want to change the standard template for Java classes to one including everything for Processing: Window > Preferences, Java > Code Style > Code Templates, Code > New Java files. This changes every newly created class, maybe it is better to just create a simple template to manually call at start: Java > Editor > Templates, New.... Then you would call the template every time you create a Processing main class but not for "normal" classes.
Ok... regarding the target audience of Processing a plugin may be a good idea. But then there is the dedicated Processing UI. Eclipse is not exactly a good introductory IDE.

Error converting LWUIT project to Codenameone

I'm trying to convert an existing LWUIT project to Codenameone. I copy the sources and resources to a new j2me project I add the codename1.jar to the libraries of the project then I fix the imports in my source and every thing seems to be ok but when I run the midlet I get this:
No Class Def Found Error java/lang/NoClassDefFoundError com/codename1/impl/ImplementationFactory
is there a missing thing in the library?
I'm using codenameone as a library ,i dont use the designer.
am I doing some thing wrong?
You need to use the Codename One sources from SVN and compile the MIDP port of Codename One to build a native J2ME application.

Are there any Eclipse IDE+GUI plugins for Openlaszlo?

I intend to customize Openmeetings and am wondering if there is a GUI editor available for Openlaszlo.
There was apparently a plugin called IDE4Lazlo, mentioned both at IBM and Eclipse.org, but both links are dead. If the plugin has been definitely pulled, then is there a way to at least preview layouts?
The IDE4Laszlo is on old IBM project, which has not been maintained for a long time (since 2005/2006). Laszlo had been working on an Eclipse based plugin in 2008, which was unfortunately never released.
Spket works, but compared to IDEs like Flash Builder the functionality is relatively limited, since the IDE is not capable of scanning your application files to recognize new classes and methods.
An option is to use an XML editor with XSD support. Sebastian Wagner of OpenMeetings has created a build script which generates an XSD schema file from the OpenLaszlo classes and the custom classes in your application. The source code can be found here:
http://code.google.com/p/openlaszlo-schemagenerator/
There are two Eclipse IDE plugins that support OpenLaszlo, IDE4Laszlo and the more recent Spket.

How to simply add jar files, as libraries in a Netbeans module suite?

I'm a bit confused with NetBeans (versions 6.5 and 6.7). I have a NetBeans Module Suite application, which consists of several NetBeans Modules. I need to add some code in one of the modules. The new code is using a library, distributed as several jar files.
The problem is, that NetBeans does not allow me to add this library jars directly to the classpath. It wants to wrap all the jars in a new Library Wrapper Module, which is then added to the project and used from there. The effect is that all the original jars are combined into a single new jar automatically by NetBeans. This is a problem, because I can't just replace the jars later, without rebuilding this "Library Wrapper Module" and the original library is updated nightly.
I read some NetBeans forums, but I found nothing... I tried with simple java application, where it is possible to simply add jar(s) to the classpath using Project Properties -> Libraries -> Add JAR/Folder. If you use a NetBeans module instead of a simple application, the Libraries dialog looks different and does not have the "Add JAR/Folder" button.
Is it possible to add a plain normal jar in a NetBeans module and how?
It looks like the way a user can wrap a jar has changed in NetBeans 6.8.
Since this has been integrated into a property dialog of a project, the build process might be smarter, too. And it seems like that was your primary concern....