netbeans

How to convince boss to substitute Java/Netbeans Platform for Python/PyQt?

Hi all, I'm working for small company, which operates in the automation industry. The boss hired me because he wants to sell/give some desktop applications to his current costumers. He imposes me to use the Netbeans Platform (a generic desktop application framework). A software engineer friend of his advised him to choose this framework....

How to write a Movie Booking application codes for netbeans

Design a Movie Booking application that Allows user to browse movie listing (of at least 10 movies) with image and description; When user selects a movie, show him the seats available; User may choose the seats by clicking on them; User may de-select a seat by clicking on a selected seat; When user clicks a “Book” button, display his b...

how to make on-screen netbeans preview match runtime

I am trying to get runtime display to match the preview here is what I am looking at: http://i236.photobucket.com/albums/ff111/DrivingTibNaked/Screenshot-1-5.png As you can see the editor does not match runtime. It shows it the system way when I use the form preview button, but then at runtime I get the weird looking java environment....

GWT RPC using classes from another project on client side

My question is similar to my previous one, but this time I included the other project to my main project (I would like to use another project classes on my client side). This is my package hierarchy: The Common.gwt.xml: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "...

Possible for IDE's to resolve Scala classes in Java using Maven?

I have a project with mixed Java and Scala sources, following the instructions on this page, which works when running Maven from the command line. However, people using IDEs like IDEA and Netbeans have problems resolving Scala classes in Java code (but not the other way around, thanks to the nice plugins available). Is there a way to r...

Contextual menu shortcut in Netbeans

Hi. Is there any way in Netbeans of displaying the contextual menu with the keyboard? I've tried Shift+F10 and the key next to the right Ctrl key with no success, but I can open it clicking with the right button. Saludos. ...

How to compile a subreport while the main report is executing in ireport?

I am trying to compile a sub-report from on the fly from java. I placed the subreport expression in the MAIN report as follows. <subreportExpression class="net.sf.jasperreports.engine.JasperReport"><![CDATA[SubReportCompiler.getCompiledReport("reportId")]]></subreportExpression> My subreportcompiler code is as follows: public class S...

Netbeans file tab features

In Visual Studio I used two features very much. These are Copy full path and Open containing folder. Both are very useful for me for several reasons. Do you know any NetBeans plugins that provide these or similar functions (primarily on Windows)? UPDATE: There is a feature request in the NetBeans bugzilla since 2009-09-01 (not by me): ...

Which files in a Java Netbeans project should be placed under version control?

I'm working on a Java Netbeans 6.7 roject with a few developers and we're using Mercurial for version control. I was wondering what I should put in the .hgignore file (ie. what files should not be added to the repository). I know I will definitely want the src, test, and lib folders in the repository and the build folder to not be in the...

Netbeans Multi-line Regular Expression Search

I'm trying to search for all the HTML input tags with a type of 'text' inside Netbeans 6.9. Does Netbeans support searching for string using regular expressions with different search criteria spread across multiple lines or does it only work within a single line? This regular expression <input.*type=['"]text['"].*/> works when the ...

Netbeans Resizeable Panels

Hi everybody... When you work with netbeans, more precisely, with the GUI Editor, you can observe that the panel where the elements of the palette are, can be hidden. Does anyone know the name of the class of that kind of panel? ...

Netbeans Mobility Obfuscation problem (Proguard)

I am upgrading my development environment from Netbeans 5.5 to 6.9. Along with that comes a change from Proguard 3.5 to 4.4 for obfuscation of my J2ME apps. Where before my projects built fine, I now get warnings about not being able to find referenced classes. Warning: class1: can't find referenced class class2 Warning: class1: can...

Program won't run in NetBeans, but runs on the command line!

So, I'm starting a C++ class right now, and I've configured NetBeans (which I use normally for PHP and Java Development) to use the Cygwin compiler/debugger. This is my first structured experience with C++, and I'm running into a slight issue. When I attempt to run a program within NetBeans (F11 or the Green Triangle) the project builds ...

GUI for PHP in NetBeans?

Hi there I would kindly like to ask if NetBeans has any sort of GUI builder like the ones they offered for Java programming? Sorry for the noob Questions. If so, how do I install or use them? Thanks. ...

Buttons to run Maven targets in NetBeans

I'd like to have a button to run (custom) Maven targets in NetBeans 6.9. Hot-keys would also be nice. Is this possible? If it is not possible: is there something like a console where I could Maven commands directly? ...

Netbeans - Needs to be compiled badge

I made a new class in Netbeans, and it has a little wrench icon on it that says "needs to be compiled" when I mouse-over. How do I get rid of that? I've trying everything, compiling the file, compiling the package, cleaning and building the project. (I'm on Netbeans 6.7.1) ...

Netbeans lack of SVN Add

I've been driving myself crazy over the past few days over this one. We've just finished setting up a Hudson Continuous-Integration server. So it runs a build script each and every commit to validate the commit. The issue is that it validates that all the files in the repo have both the svn:keywords = "Id" and svn:eol-style = "LF" pro...

Java Swing button colors

I am using NET Beans IDE for developing my application in LINUX. I have used synthetica package to generate new look and feel. All is well till now. Now my next stage is to add colors to buttons when some database status changes. For example: In a restaurant i have 2 tables and when 8 people came in to dine and i will create 2 table i...

NetBeans isn't finding my class

Netbeans is returning a NoClassDefFoundError, but my class is right there! Has this happened to anyone before? PROBLEM SOLVED: I had a bad annotation in front of my class, so the runtime didn't pick it up. run: java.lang.NoClassDefFoundError: targzipmanager/TarGzipManagerView Caused by: java.lang.ClassNotFoundException: targzipmanager....

Is there a way to reset the error badges in Netbeans?

Netbeans sometimes displays error badges in situations where no actual error occours. (Often on folders, too) Although Google finds many pages reporting this issue for various Netbeans versions, I could not found a solution to reset the error badges without deleting and re-creating the project with a different name (!). How can I remov...