netbeans-8

Can Clang formatting be used in Netbeans

允我心安 提交于 2019-12-07 09:53:27
问题 Is there a way to use the clang formatter with NetBeans 8.1? I'm running NetBeans on Arch Linux, if it matters. 回答1: At the time you posted your question the answer was no, but now (over a year later!) you can use the clang formatter in NetBeans, subject to the following constraints: You must use version 8.2 of NetBeans rather than version 8.1. You must install from a recent nightly development build of NetBeans 8.2 rather than using the standard release. That's because this functionality was

Adding Gson to netbeans java project

眉间皱痕 提交于 2019-12-06 09:34:52
问题 I have downloaded gson.jar from its source. Right-clicked at libraries folder -> add new -> add jar -> gson.jar However when i try to use Gson gson = new Gson(); It complains that it cannot find symbol Gson. What is the right way how to add gson to the project? I am not using maven Thanks for help! 回答1: Go to Download Gson There, access last Gson version: You will see sth like this: In order to import Gson using netbeans you will need to download 3 files from here: gson-2.8.0.jar (classpath)

NetBeans 8.0.2 not recognizing python plataform. How to solve this issue?

老子叫甜甜 提交于 2019-12-06 08:27:06
问题 I have installed in my pc the free version of Enthought Canopy that works good as python interpreter. But I was trying to move to a free IDE and I choose to make my Netbeans 8.0.2 to be able to run Python. After some research I found this post that shows how to accomplish this task. Infortunately when I try to open a new Python project I have one error "Valid plataform has to be selected" , "wrong python plataform", as you can see picture below: After some research I found same problem for

How to use a custom .iss file with Inno Setup for NetBeans

▼魔方 西西 提交于 2019-12-06 07:25:13
I am using Inno Setup 5 with NetBeans 8 and I have been able to create an installer which installs the app in C:\users\username\local\appname. I however want this installed in C:\Programfiles How can I achieve this in NetBeans? The problem with the NetBeans packaging mechanism using Inno Setup is that - AFAIK - you can't give your own .iss file to the build mechanism. NetBeans creates an own installation script file with little to no external influence. The biggest problem that also I have is that the package is installed (at least for Windows) in C:\Users\<user>\AppData\Local . Who on earth

JComboBox search list

我与影子孤独终老i 提交于 2019-12-06 06:10:29
I w'd like make a JComboBox that contents could be searchable. I tried AutoCompleteDecorator, GlazedLists, SwingLabs, JIDE, Laf-Widget , but all of the cannot search by second keyword. For example, in this code possible search by 1st letter and this content includes just one word. this.comboBox = new JComboBox(new Object[] { "Ester", "Jordi", "Jordina", "Jorge", "Sergi" }); AutoCompleteDecorator.decorate(this.comboBox); If JComboBox content consists 2 or 3 words, for example: "Ester Jordi" or "Jorge Sergi", in this case if I enter "Sergi", JComboBox don't show nothing, because it can recognize

With maven, how to modify deploy files just prior to deploy phase?

半城伤御伤魂 提交于 2019-12-06 03:29:23
I have a maven project with one war and several ear projects. Each ear project requires a slightly different war / WEB-INF/web.xml . Each ear 's pom.xml uses com.google.code.maven-replacer-plugin:replacer and org.codehaus.mojo:truezip-maven-plugin to replace tokens in the web.xml , and then place that new web.xml in the final <project>-app.ear/web.war/WEB-INF . This all works great with building and creating the final EAR artifacts. The problem I'm having is that when I run (using Netbeans, but that shouldn't matter), the web.xml used for deployment ( <project>/target/gfdeploy/first-app/web

How can I show .git folder in Netbeans 8.2

穿精又带淫゛_ 提交于 2019-12-05 23:01:11
This same question has been asked already, but the accepted answer isn't working for the new version of Netbeans 8.2. The .git directory that Netbeans isn't showing is at the same level of .gitignore, at the root of the project. So, how to show it? Ashutosh Jindal This appears to not work as expected in both Netbeans 8.1 and 8.2, however here is a workaround. Creating a link to the .git folder I noticed that no matter what you do in Settings -> Miscellaneous -> Files -> Files Ignored by the IDE, the .git folder does not appear in the Files panel. However, if you were only interested in the

Compiling any JavaFX project in NetBeans returns Unsupported major.minor version 52.0

▼魔方 西西 提交于 2019-12-05 16:23:40
问题 I see a number of similar questions Netbeans 8.0 Unsupported major.minor version 52.0 error Unsupported major.minor version 52.0 Error (duplicate) Running a JAR I compiled: Unsupported major.minor version 52.0 Can't fix Unsupported major.minor version 52.0 even after fixing compatibility But none with the same circumstances as mine. I've tried their solutions anyway (when relevant) and they haven't helped. I had created a JavaFX FXML Application in NetBeans 8.0.2 and had to manually upgrade

Can Clang formatting be used in Netbeans

谁都会走 提交于 2019-12-05 14:11:50
Is there a way to use the clang formatter with NetBeans 8.1? I'm running NetBeans on Arch Linux, if it matters. At the time you posted your question the answer was no, but now (over a year later!) you can use the clang formatter in NetBeans, subject to the following constraints: You must use version 8.2 of NetBeans rather than version 8.1. You must install from a recent nightly development build of NetBeans 8.2 rather than using the standard release. That's because this functionality was only added recently. See NetBeans bug 270882 . To use the clang formatter in NetBeans: Create a trivial C++

javafx native package error invoking method

◇◆丶佛笑我妖孽 提交于 2019-12-05 07:21:15
问题 I'm developing a desktop application using javafx v8.0.60. I have created an exe package with ant in netbeans 8. When I run exe file in my computer, it is installed and run without any problem. On the other hand, when I try to install and run it on some other computer, at the end of installation, window dialog pops up: "Error invoking method" I click Ok. Another window pop up saying: "Failed to launch jvm" 回答1: Davood, greetings! I had this same problem and I, like you, found no help anywhere