netbeans-8

Loosing vertical scrollbar in netbeans nimbus LAF

喜你入骨 提交于 2019-12-10 15:19:53
问题 I'm using Netbeans 8.0.2 and the Nimbus Look And Feel. At a certain point, when the vertical scroll slider becomes small, it disappears. Has anyone the same behavior or any fix for that problem? EDIT: This happens only in Nimbus and Dark Nimbus LAF 回答1: There is a bug filed here. Assuming this is your problem, after setting your look and feel to Nimbus, try adding: LookAndFeel lookAndFeel = UIManager.getLookAndFeel(); UIDefaults defaults = lookAndFeel.getDefaults(); defaults.put("ScrollBar

JComboBox search list

你。 提交于 2019-12-10 10:29:53
问题 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

How to set Netbeans Action Item filters to ignore third party folders?

烈酒焚心 提交于 2019-12-10 02:12:18
问题 I do not want to see errors and warnings for third party libraries in Netbeans Action Items list, so I created a filter as shown below: The filter is turned on, but I still see many items from node_modules folders. What am I doing wrong? How should the filter be configured to ignore everything coming from node_modules and vendor folders? 回答1: I found a solution to hide all parser errors in folder node_modules from this link: How do I Ignore the build folder in NetBeans 'Find In Projects'? But

Problems running JavaFX application on Java 1.7u80

安稳与你 提交于 2019-12-09 19:51:56
问题 I am using Netbeans 8.02 on the MAC and am creating a simple JavaFX application from the New Project Wizard. When I set the platform to Java 1.8 it works just fine, but when I try to run it on Java 1.7u80 I get "java.lang.NoClassDefFoundError: javafx/application/Application". Behavior is the same when running from the IDE or from the command line. Everything compiles just fine with either platform, so it does look like JavaFX is on the classpath for both platforms I have installed. My target

Netbeans how to add a JavaEE version?

天涯浪子 提交于 2019-12-09 16:02:22
问题 I recently downloaded Glassfish 5 which is JavaEE 8 compliant, my problem now is that when I try to create a Java Web Application for e.g. I don't see the JavaEE 8 version available, only from JavaEE 5 - 7. My {netbeans_install_path}/etc/netbeans.conf is pointing to JDK 8: netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_131" How do I add JavaEE 8 to the options ? 回答1: How do I add JavaEE 8 to the options ? NetBeans does not have a Java EE 8 compatible version, yet. NetBeans is like a

The J2SE Platform is not correctly set up.( NetBeans IDE 8.0.2 )

試著忘記壹切 提交于 2019-12-09 01:57:34
问题 I am getting this error while running my program in NetBeans. nt -f D:\\PMT_LandingPage jfxsa-run D:\PMT_LandingPage\nbproject\jfx-impl.xml:3725: The following error occurred while executing this line: D:\PMT_LandingPage\nbproject\build-impl.xml:87: The J2SE Platform is not correctly set up. Your active platform is: default_platform, but the corresponding property "platforms.default_platform.home" is not found in the project's properties files. Either open the project in the IDE and setup the

NetBeans 8.2 Won't Run/Open on Mac all of sudden

倾然丶 夕夏残阳落幕 提交于 2019-12-09 01:44:57
问题 I was in the middle of coding a project in Netbeans v8.2 and all of a sudden it closed down. When I re-opened it I seen the attached screen.I can't open any projects even though I can see them there, and most options are now greyed out. PLEASE anyone help. I run MAC OS. Please can someone tell me how on earth I revert back to an old version? NetBeans Info Screenshot of now Netbeans 回答1: You don't need to revert back to an old version of NetBeans. Your screenshot shows that NetBeans is

Netbeans IDE - invalid jdkhome specified

与世无争的帅哥 提交于 2019-12-08 15:13:10
问题 Netbeans 8.0.2 shows this error on startup Netbeans 8.0.2 error on startup. I searched for this error, but nothing works for me. I modified the netbeans_jdkhome in netbeans.conf file, but nothing. Then uncommented it, nothing. The error keeps showing up. It´s like there is another netbeans.conf file, but I don´t know where. I´m running Windows 10 and have JDK 1.8 installed in "C:\Program Files\Java\jdk1.8.0_101" . 回答1: go to C:\Program Files\NetBeans 8.0.2\etc , open the file netbeans.conf

Netbeans not starting Java DB Server with JDK 1.8.0_40

限于喜欢 提交于 2019-12-08 10:08:33
问题 That's my setup: 1) Windows 8.1 2) JDK 1.8.0_40 3) Netbenas 8.0.2 The system was running JDK 1.8.0_31 and everything was working pretty well. JDK 1.8.0_31 was uninstalled and JDK 1.8.0_40 installed and JAVA_HOME var was adjusted to reflect the new JDK version, from C:\java\jdk1.8.0_31 to C:\java\jdk1.8.0_40. I applied the following changes to my Netbeans: 1) Menu Tools | Libraries: 'Java DB Driver' was changed to reflect the libraries which come with JDK version: C:\java\jdk1.8.0_40\db\lib

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

会有一股神秘感。 提交于 2019-12-08 00:31:18
问题 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? 回答1: 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