netbeans-7

How to add pictures to a javaFX 2.0 netbeans project

亡梦爱人 提交于 2019-12-06 03:40:54
Hello and thank you for your time. I am new to Netbeans and I am using the Netbeans 7.1 RC1 version of Netbeans. The problem I am running into is that I seem unable to add images to the project. I am designing a web app in JavaFX 2.0 and need a jpg picture for my background. I need to know how to add this picture to the Netbeans file system to be able to call it from my program. Any help is appreciated. Thanks again Easiest way is to put it directly into src folder, they you would be able to refer to it from your JavaFX application by next code: ImageView iv = new ImageView(new Image(getClass(

The document has no pages. Jasper Report

删除回忆录丶 提交于 2019-12-06 01:50:42
I'm having a problem searching for a solution to this issue. My codes works fine after I run it. It suppose to display the data on my sql database to my jtable, and there's a button that will trigger to display the jasper report but there's a little bit problem, it always shows me the message 'The document has no pages.' why is that? can someone help me with my issue here? What did I do wrong? here is my codes: package stringmanipulation; import java.sql.*; import java.util.Vector; import javax.swing.table.DefaultTableModel; import net.sf.jasperreports.engine.JasperCompileManager; import net

A possible bug with Netbeans, it's executing the old code I changed

荒凉一梦 提交于 2019-12-06 01:31:21
I have been coding in a project with over 500 class. One of the classes is responsible for retreiving data from the disk. For some reasons I changed the code, but still, when I run the code, it executes the old code of the class. When I debug, the debugger moves over empty lines which means it still runs over the old code that I have changed. I cleaned and built the project several times. I hand deleted all the .class files and built the project again and nothing changed. What drives me crazy, is that I copy-paste this code to a new class in a new project and I test it using a main method

How to ignore certain javascript libraries with the Html5 template?

≯℡__Kan透↙ 提交于 2019-12-06 01:18:03
I just upgraded my NetBeans from 7.3 Beta 2 to 7.3 RC1. In Beta 2 I could only exclude full folders (with the php project type). To ignore specific files I edited the project.properties file. This greatly helped me to ignore multiple versions of included libraries. In RC1 we have the Html5 project type. I no longer find any option to ignore files, and adding ignore.path to the project.properties no longer seem to do the trick for me. So my question is, is there a way to ignore files with the Html 5 project type? If so, how? If not, is my only way of solving this to move the library sources

How do I reference libraries in NetBeans?

倾然丶 夕夏残阳落幕 提交于 2019-12-05 17:36:52
问题 I have a Java Web Services project that was created in an older version of NetBeans, and I haven't accessed it in many months, so my paths and installed libraries are different. When I try to open the project, I get a "Resolve Reference Problems" dialog, and two Reference Problems are listed: "metro" library could not be found "JAX-WS-ENDORSED" library could not be found I have a fresh installation of JDK 6 Update 25 with NetBeans 7.0, and am running Windows 7. What steps can I take to solve

Netbeans 7.3 how to set MAVEN_OPTS, e.g. MaxPermSize

◇◆丶佛笑我妖孽 提交于 2019-12-05 14:53:54
When using Netbeans 7.3 how can I set the maven build action properties to set the MAVEN_OPTS. E.g. -Xms512m -Xmx1024m -XX:MaxPermSize=1024m Try right clicking on the project and setting an action with a property for Env.MAVEN_OPTS similar to this: 来源: https://stackoverflow.com/questions/17348882/netbeans-7-3-how-to-set-maven-opts-e-g-maxpermsize

Netbeans 7.1.2 - Unable to add glassfish server 3.1.2

孤街浪徒 提交于 2019-12-05 12:39:25
I downloaded glassfish server from http://glassfish.java.net/downloads/3.1.2.2-final.html and installed in separately. Now I am trying to add this in Netbeans. But it does not work. I did the below steps Open Netbeans as administrator Open Tools -> Servers Click "Add Server" button Choose GlassFish Server 3+ Specify a name as "GlassFish" Choose the installation folder location - C:\glassfish3 Now it displays the error "Not a valid Glassfish server Installation". I am new to Netbeans & Glassfish & now don't know how to continue. My glassfish server is running successfully at localhost:8181 Can

How to work with SVN 1.7 repositories using Netbeans 7.1?

浪尽此生 提交于 2019-12-05 06:47:09
When trying to update a subversion working copy from Netbeans, I get the following error svn: E175002: Unable to connect to a repository at URL 'https://svn.XXX.de/svn/[RepositoryName]' svn: E175002: OPTIONS of 'https://svn.XXX.de/svn/[RepositoryName]': Server certificate verification failed: issuer is not trusted (https://svn.XXX.de) Additionally I get a popup window saying SVN command returned with the following error: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name I know about this issue and I successfully made a svn checkout using TortoiseSVN. I permanently accepted

connecting java application with online hosted mysql database

两盒软妹~` 提交于 2019-12-05 04:55:36
问题 I have build an application in java, application is one and will be used on 3 different systems, And therefore the database of that application must be online to keep all 3 applications with up to date database... In starting I developed my application based on localhost (wampserver) and used database in "PhpMyAdmin", and hopefully application is fully developed and ready to run.. but the problem is online database connectivity! I have uploaded my database on a Site in PhpMyAdmin and they

Uninstall a netbeans 7.0.1 plugin, netbeans doesn't start

对着背影说爱祢 提交于 2019-12-05 04:17:08
Netbeans 7.0.1 on Vista doesn't start after installing python plugin. How do I uninstall plugins manually? Is there a command line argument to start netbeans without plugins? If not, this should be easy to add to netbeans :-) I had the same issue. Here is how I solved it in 8.0.2 (without losing all settings and modules). Go to ' C:\Users\yourAccount\AppData\Roaming\NetBeans\8.0.2\config\Modules ' and delete the faulty (last installed plugin). If you have several installed versions, have a look in their '\config\Modules' as well. Start the Netbeans :) Open Net Beans Plugin Manager From Tools =