i want to use the URLImage class in my current project but can't seem to find it in my current version of codenameone running on netbeans 7.4. How do I incorperate it into my IDE? I tried downloading the latest plugin but it did not do the job. Any tips? As I find the ImageDownloadService confusing.
Libraries are updated by going to the project properties Codename One section and clicking the update client libs button.
Related
I am trying to create a Liferay Module project using Eclipse. I tried by changing the perspective and then File -> New -> Liferay Module Project. The project got successfully created, but when I try to deploy it using the drag and drop on the server, it's not allowing me to do so. Also I guess (when I go through some tutorials) while creating the project, an option to select the Liferay version should be present, which is not available in my case (screenshot is attached).
It took me the whole day and I still am not able to solve it. Any help would be highly appreciated. I am in fact not able to run any runnable jsf project either in Liferay workspace.
Below are the versions that I am using:
Eclipse Neon.3 Release (4.6.3) liferay-ce-portal-tomcat-7.3.3-ga4
Java 1.8
enter image description here
Thanks and Regards
I am new to NetBeans and I can't create a "Java Application" project, like shown in all tutorials. I can only create a Java Free-Form Project, but this requires a build script, which I don't have either.
Do I have to download a plugin for it and if so which plugin? Or did I download the wrong NetBeans version?
I am using ubuntu version 15 and NetBeans IDE 8.1.
http://imgur.com/90AeiDG screenshot.
Just make sure you have JDK installed on your system. (I am pretty sure, it would be as Netbeans doesn't install if JDK is not found on your machine, but just to be sure about it). Also, You might have missed to select Java in Select Languages during installation.
To activate a feature manually:
Open the Tools > Plugins menu
Go to the Installed tab.
Select and activate the feature you need.
Return to the New Project dialog.
Visit this link for more help:
http://wiki.netbeans.org/FaqMissingProjectCategories
Found the plugin:
It was in the the "Ant" or the "Ant 1.9.4. Documentation 1.9.4" or Mobility plugin. I downloaded those 3 at the same time, but If I have to guess it was the Mobility plugin.
Not sure if this will help you. I've been working on Windows. I have Netbeans 8.1 and JDK 8 (version 1.8.0.73). When I first started with Netbeans and tried to create my first new Project it opened the New Project window with the Categories portion of the new Project screen focused on the Samples section. I also thought I couldn't create the type of project I wanted to create. If this is what is happening to you, see if you can scroll up in the Categories box. If you can, you should find Java at the top. If you click that, you should then be able to select Java Application in the Projects part of the window.
I have read this article about deploying libgdx application on linux, windows and macs.
However, it only describes how to export using eclipse. I am currently using Android Studio and it deploys android *.apk files very nicely. And I intend to keep using this. However, I had not figured out a way to deploy the desktop version of the project.
Can anyone tell me how to deploy a Libgdx Desktop application with Android Studio (or Intellij Idea because they are pretty much the same).
you can simply click on Gradle panel in the right, select :desktop, press the Execute Gradle Task, type dist and press enter, that's it.
Jar is located in /desktop/build/libs.
lbalazscs gave you a more detailed answer, so i recommend you doing what he said.
Yes, tell Gradle to build a jar for you. Here's how.
In Android Studio you can start the Gradle tasks from the GUI on the right side. Anyways, I recommend you to learn first without an IDE.
You can setup Android Studio to run the desktop version by setting up a new run configuration. Then you can run the desktop version just like you would the Android version.
Follow this link: Configuring a libGDX project to run as a desktop application in Android Studio.
In GUI we can do it.
Menu: Run -> Edit Configurations -> Add New Gradle Configurations
Gradle project: choose main Gradle project
Taske : gradlew desktop:dist
Then Run this configuration.
From this link:
exporting-a-libgdx-game-as-executable-jar-from-android-studio
A simple way of deploying on windows is to make a jar using gradle with the command gradlew desktop:dist in terminal. A similar command can be used on Linux as well.
I have created my first iReport jrxml file by using the iReport plugin in NetBeans but there is missing preview and designer button.
Why does this happen?
Your designer preview is not available because the ireports netbeans plugin has not been added properly.
you can download is here : http://plugins.netbeans.org/plugin/4425/ireport
then go to netbeans -> tools -> plugins -> downloaded -> Add plugins...
and select the downloaded plugin and go through the wizard
I also had the same issue. I'm using Netbeans 8.0.1 version and I firstly downloaded and installed iReport 5.6 from sourceforge. But when I tried to create the report I also noticed that I 'm having only the xml. Preview and Design buttons were not there.
So then I remove the installed plugins (.nbm files) and downloaded this from Netbeans and reinstalled the plugin.
Then it worked perfectly for me. So my thought is, your plugin might missing some files.. so better if you can remove that and re-download the plugin from here.
If you want to preview the report then right click on 'opened tab' (example: if you want to see the preview of DayReport.jrxml then open it and right click on that tab) and select the editor menu, then you can preview, designer or see the xml of your report
i have also faced that probleam , because i have netbeans 7.4 and my ireport plugin vergion was different , so i uninstall old plug in and install same version of my netbeans 7.4 .. and now it is showing design , pervious etc
I have downloaded the JavaFx sample source codes and examined "Ensemble" codes. I have some interest on working on those animations, however when I have copied the source code and pasted into Netbeans, I get the following error.
-JavaFX deployment library not found.
I am not too familiar with Java, so would you please tell me how to integrate the codes into my own project? I think that I could not load the libraries.
Thank you.
Perhaps you have an older version of JavaFX installed and NetBeans is using this as "Default JavaFX Platform" (see NB-Menu Tools|Java Platforms) ?
The newest Ensemble is using the Canvas and this is not supported with older JavaFX (<2.2).
In this case deinstall all old versions and get the new Java7 with integrated JavaFX Runtime here http://www.oracle.com/technetwork/java/javafx/downloads/index.html
You don't need to copy and paste the source codes yourself. In Netbeans click to "Open Project..." and navigate to <javafx_sample_dir>/src directory where the Ensemble will be detected as a Netbeans project. If you are interested in a particular component or feature, just run the Ensemble application and open the related component page and click the "Save NetBeans Project..." button then you can open it in Netbeans.
If you still facing that error try first to create a new javaFX project and run it in Netbeans.