Hi ,
I'm reading a file line by line in a simple program and when I print the the lines to the screen the last line can't be seen at the ouput window in Netbeans 6.5.1 IDE on Windows XP but when I run the program directly from the command line as "ruby main.rb" there is not a problem (i.e the last line can be seen).I'm using Ruby 1.8.6....
I enjoy using Netbeans, especially for development with Maven, however, I've found recently that I've been working with three different branches of the same code base in different parts of the development cycle.
One of the things that Eclipse can do, is separate the projects into different workspaces, so i can simply start Eclipse wit...
I'm very new to obfuscation and don't have a lot of experience with ant. Come someone provide me a way to obfuscate a regular Java application with ProGuard (or any other open source obfuscator). Currently I'm using NetBeans 6.5.1, and only see the obfuscation ability if I create a JAVA ME, and not a Java Application like I have. I've...
I'm looking for a plugin similar to the Eclipse plugins Veloeclipse or Velocity Web Edit for NetBeans.
Update: I tried the Velocity Editor Support plugin mentioned by Kathy Van Stone (thanks!), but it's not quite as robust as I had hoped. It doesn't support code folding, directive tag matching, or code completion, as far as I can tell....
It seems like it's a fairly common thing to do. I want to create a new Java application that does not have any existing source files, but be able to edit the Ant scripts.
...
The version of NetBeans that I use is 6.5.1
...
When creating modules on the NetBeans platform, the FileObject object represents a file in the virtual file system of the IDE. Creating new FileObjects is simple, but does NetBeans completely control the reference to the actual File, or should I close FileObject myself? My code is like this:
FileObject appRoot = FileUtil.getConfigRoot()...
I use svgForms, svgMenus and svgSplashScreen, but one annoying error always appears in the pre verification (last) step, which is the following:
Error preverifying class org.w3c.dom.svg.SVGElement
java/lang/NoClassDefFoundError: org/w3c/dom/Element
It seems like it needs a library to be added, but I have hit the wall here. My sv...
Some background:
I've created a Swing application which uses the Substance LaF (Thanks again, Kirill!)
Unfortunately Swing creates a panel somewhere outside the EDT thus leading to an exception message from Substance every time I start my application. By itself this exception is great, I already saved me from creating nasty multithread...
I just wanna know how to use jtable on netbeans because I'm scruffing along and I could'nt do anything good. please, help me
...
I'm working with a maven (jar) Project in Netbeans(Windows), which creates Checkstyle Reports with the maven checkstyle Plugin.
No Matter what i do, i always get the message: File does not end with a newline. for Java Class Files.
What can i do/configure in either Netbeans (Formatter) or for the checkstyle plugin to get rid of the Mess...
Running a unittest test using the netbeans debugger gives the error when reaching unittest.main:
unittest.main()
', ' File "/Applications/NetBeans/NetBeans 6.7 RC1.app/Contents/Resources/NetBeans/python1/jython-2.5/Lib/unittest.py", line 767, in __init__
self.parseArgs(argv)
', ' File "/Applications/NetBeans/NetBeans 6.7 RC1.a...
I'm very sorry if my question isn't clear. Actually, it's not my own question, it's my gf's one. I'm not experienced in Netbeans and Tomcat, so I cannot help her.
She built a project in Netbeans (a Jsp website), use some addition libraries. Everything's fine, unless she copies all the project into the root folder of Tomcat. She doesn't ...
When I create a new project in Netbeans, it generates a build.xml file which it will use to compile and run the project, along with other stuff in folder nbproject.
Now, I want to have my very own build.xml file that I will use to compile to project on the server side. Some guys have tried to use the generated build file both in Netbean...
One of the things I like about Netbeans Ruby development is keyboard triggers.
For example, if you are in an erb template and you type:
licai
After you hit the tab key, this text gets replaced with:
<%= link_to "${1 default="link text..."}",
:controller => "${2 default="items"}",
:action => "${3 default="edit"}",
:id => ${4 defau...
I designed a GUI program using Netbeans 6.5 on a computer running Vista. I uploaded it to my server and tested out the web start. It worked fine.
Later when using a Mac, it was not able to work. I tested it out in Ubuntu and was unsuccessful as well. I even tried to compile the source code on Ubuntu and I got this:
Task required to...
I have decided to use Netbeans and Mercurial for my latest project (after no end of headaches with Visual Studio). My Mercurial repository is set up and I can do anything like with it, from the command line.
Specifically, I can push and pull my code all day long by using an ssh:// login on the command line. However, when I use Netbeans ...
How can I create a war file of my project in NetBeans?
...
I'm playing around with NetBeans and JAX-WS and I see that the WSDL is fetched every time a WS is called. Is there a way to avoid this? Is there some configuration?
...
I have loaded a jpg image in which I want to draw letters and circles, given a x,y coordinate.
I have been trying to figure out the paintIcon of the ImageIcon class
public void paintIcon(Component c,
Graphics g,
int x,
int y)
Does this method allow me to edit jpg ima...