netbeans

Netbeans: Is there a way to mimic Eclipse CTRL+H looking for usages in JRE and Application Libraries ?

Hi, See Eclipse Java Search screenshot . I googled a lot, tryied my best but could not find any ways to tell Netbeans to search for method invocation in JRE / Application libraries. Let's consider: I have maven project with ApplicationA being runtime ApplicationA* artifat defines interface InterfaceA with method methodA I'm impleme...

Always download file again when open a file in NetBeans IDE 6.8

Hi. I'm using NetBeans IDE 6.8. When I open a file, NetBeans opens an old file from my computer, not the actual one from the web-server. The problem is when some one else has edited the file on the web-server I need to download the file before I open it, so I don't lose the new changes. What I want to do is that NetBeans always downloa...

class Main in a package?

Netbeans is creating a class Main automatically when I create a new project. so its in the constructor here i write the code and use all other classes? What happens when I rename the Main class to something else. Will it still work? ...

Opening Code Templates in Netbeans with short keys?

So you write a code you want to save. But you have to click on the Netbeans -> Properties -> Editor -> Code Templates -> New all the time and then paste it in and type in a name for that snippet. Isn't there an easier way to fire up the Code Templates? It would be more convenient if you could just select the code and then press a key c...

Changing Java EE version in Netbeans

I downloaded Java EE 6 and it installed with no errors. I am attempting this tutorial from Sun: http://netbeans.org/kb/docs/web/jsf-jpa-crud-wizard.html The problem is that I have no idea how to change Netbeans to allow me to use Java EE version 6. I am still only offered 5. This is where I downloaded Java EE 6: http://java.sun.com...

Netbeans doesnt pick up Java classes in debugger

This is doing my head right in! I am messing about with JRuby trying to make some Java calls. Here is the source Im messing with. require 'java' module JavaLang include_package "java.lang" end module JavaSql include_package 'java.sql' end begin JavaLang::Class.forName("com.mysql.jdbc.Driver").newInstance jdbcconnection =...

add tomcat server in netbeans question

i'm using netbeans and when i create a new web application project i click the "Add" to add a server cause in a tutorial they are using tomcat and not glassfish. I then choose Tomcat 6.0 from the list and the next page is displayed where i have to input Server Location Username Password I dont get this part. What location do they me...

cant start glassfish within netbeans

when i click on Run it displays and error message: Starting GlassFish v3 Domain GlassFish v3 Domain start failed. /Volumes/Private/noname/Sites/projects/java/MyFirstServlet/nbproject/build-impl.xml:602: Deployment error: GlassFish v3 Domain start failed. See the server log for details. BUILD FAILED (total time: 2 minutes 0 seconds) bu...

what is a deployment descriptor and do i really have to care about it when using Netbeans?

actually, what is a deployment descriptor? do i really have to care about it when using Netbeans, cause i read something that it was optional. and that you could use annotations instead of configuring in xml files? could someone give me the whole picture of this? ...

How to automatically create method definitions from method declarations in NetBeans?

Hello, I'm using NetBeans for writing some projects. I declared some methods in my header file, e.g.: public: remove(string fileName); copyIn(string filePath); copyOut(string fileName); Is it possible to create stubs of definitions for all of these methods automatically, or do i have to write it manually for each of them?...

Problem with utf8 encoding Java strings using Netbeans

Hi. I have written a program that sends a request to the Yahoo API in several natural languages. The encoding on Yahoo has to be utf8. No problem in Delphi or Perl. In my Java version, I convert the search query sQuery1 like this: try{ utf8Bytes = sQuery1.getBytes("utf-8"); sQuery8 = new String(utf8Bytes, "utf-8"); } catch (...

Netbeans, mobile development and screen size

Hi all, I'm looking at prototyping with a HTC Advantage, which runs Windows Mobile 5 and has a screen resolution of 640x480 (or the other way if in portrait). Before anyone jumps in and suggests developing as a native Windows mobile app, we're prototyping as a Java midlet because we also want to find out what restrictions/limitations/d...

netbeans & java, resourceMap.getString returning null

Product Version: NetBeans IDE 6.8 (Build 200912041610) Java: 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01 System: Windows 7 version 6.1 running on x86; Cp1252; en_GB (nb) Hello, newbee java programmer here and wondering if someone can help, I have been having some problems updating a GUI for a desktop application in netbeans, here are ...

NetBeans and Python

When I run some python code in NetBeans, which raises an error, the output in NetBeans just gives an error message and no further information, such as line number. Is there any way to fix that? ...

when using eclipse/netbeans, can you make it use the maven to build?

Confused as to building a java spring/mvc web app. When you use netbeans or eclipse, do you have to use the maven/ant build script? if you don't use maven/ant, how does netbeans/eclipse perform the build then? ...

Change WebService endpoint address at run time

I used Netbeans to generate Web Sevice client code from WSDL url. But I can't change endpoint address at run time using code. Please help me to solve that problem! ...

Weird font rendering in Netbeans on Linux

I installed NetBeans 6.8 on Linux (Mint, based on Ubuntu 9.10) and I can see that font rendering is very weird. Fonts in NetBeans are just so thin unlike any other program, be it gEdit, Eclipse, Firefox, or whatever. Does anyone know if it's possible to make fonts in NetBeans look bolder? Bonus question: AFAIK both Eclipse and NetBean...

Using SvnKit and Netbeans?

Is there a way to get Netbeans 6.7/8 to work with SVNkit? I'm looking for a plugin to replace the built-in SVN Netbeans plugin or a similiar solution. Right now, my workaround is to make copies of all of the jsvn commands and rename the copies to the svn equivalent. It works, but its a headache. Edit: As to why I want to do this, it...

Communication between 2 web services on 2 systems.

We have a java ws deployed on Glassfish talking to another java ws deployed on glassfish (both are JEE 5 and both are being developed on netbeans 6.7.1). So neither of these ws use SSL, but when the main ws calls the other we are getting this error: WSTX-COORDINATOR-3005: registerResponse sent to EPR '<?xml version="1.0" encoding="UTF-...

Passing PHP arguments into NetBeans into a page that features symfony url-routing

I am doing the Jobeet tutorial that features url routing. The url routing (I think that's the proper term) makes urls look like this http://localhost:8080/frontend_dev.php/job/extreme-sensio/paris-france/2/web-designer I would like to debug into this page however I cannot properly pass arguments into NetBeans. I set the arguments in...