netbeans

Deploying code without SVN Bindings

All, We have a PHP project in SVN. We develop code and do SVN checkins and checkouts using Netbeans 6.7 PHP IDE. Each week, we need to deploy a new release to a test environment. We do not want to deploy it with SVN Bindings in it. How can we do that? Do we need to create Bindings or tags? If so, how to create them? Thanks ...

how to retain windows-like appearance of java GUI in fedora

Hi all, I'm using netbeans 6.7.1 on windows. I created a jframe application . When i run the same application in my fedora core OS , the appearance becomes dull , the fonts and the spacing change.. How to avoid this - as the GUI is of prime importance to my application. Please help.. ...

Creating database desktop application with data manipulation in Netbeans using Java Persistence

It's my first time to use Persistence in developing a Java program because I usually connect via JDBC. I read that for large amounts of data, it is best to use persistence. I tried playing with the CRUD example of Netbeans. It's not very helpful thought because it only connects to the DB and allows addition and deletion of records. I nee...

Shortcut to stop execution of program in netbeans

Hi all, I am using netbeans to code java and i was wondering if there is an option to have a program stopped by pressing a shortcut. I can press F6 to execute program, but I have to use mouse to stop program, which I find a little annoying. many thanks alfred ...

Access Git Repository using Eclipse and Netbeans Plugins with LDAP Users

Hello everyone! I've configure a git server. I need to use ssh because I've defined permissions using users of my domain, using LDAP. Only users with permissions could read a project. So, the links to access my repositories are like that: ssh://[email protected]@hostname/var/git/repo.git When I clone, commit or push a project using linux...

DBUnit automatic dataset generation

I have seen a couple of question regarding creating datasets in DbUnit here on StackOverflow, but all of them were regarding export data from existing tables. My question is, can DBUnit create some dummy dataset basing on my database schema? I don't care whether the strings would be like "ZDSFFDSDGF" and BLOBS would be just garbage. I j...

Netbeans jsp debug

Hello all. How can i see in debug time the value of a el expression? i.e. ${myBean.myProperty} ? Thank you ...

netbeans platform tutorial problem

I am reading the Netbeans Platform Quick Start tutorial (http://platform.netbeans.org/tutorials/nbm-quick-start.html), and I do not clearly understand the 6th part in the section "A Modular Application Using Lookup", the TIP: At compile time, the @ServiceProvider annotation will create a META-INF/services folder with a file that regi...

Netbeans annotation error

NetBeans do not accept my code. Why? See the pic. ...

Java: If a custom JDialog is hidden, is focus returned back to its parent?

I am creating a custom JDialog. I need to hide the JDialog (without removing it from memory) so that its parent can call a method on the JDialog (getResults()). JDialog dialog = new JDialog(.....); ///Code WITHIN JDialog: { //JDialog opens and its actions are performed this.setVisible(false); //Does this allow the parent to gain focu...

Is there any way of getting Netbeans code completion to work with XPCOM components?

I'm writing a Firefox Addon in Netbeans 6.8. The Ctrl+space code completion for my own code or native javascript elements is very useful, but is there any way of making it aware of XPCOM (eg so that code completion would suggest the methods of nsIHttpChannel in the following code)? /** * @param {nsIHttpChannel} cSubject */ captur...

Netbeans JQuery Selector auto-complete

I can't get Netbeans to auto-complete my selectors for JQuery, example: <a id="hello" href="#">Hello</a> <script type="text/javascript"> $("|").hide(); </script> As far as i understand the documentation at this point it should show the tags available on the page when i press control+space at the | position, but instead displays no...

how can we create a jar file for our program?

Hi I work with netbeans,how can I create a jar file for my program? please help me thanks. ...

Recommendation for Rich Client Platform for CRUD application

I will develop a desktop application for asset tracking. I am considering Eclipse RCP and Netbeans Platform. I have only Swing experience but SWT will not be a problem for me. One more option is developing with flex on Adobe Air. I know flex but no air experience (they are much similar) Speed which one is faster to develop as a RAD Le...

Can custom exceptions be created for a webservice operation on netbeans?

I am using netbeans glassfish bundle to create a webservice. I am adding operations to the webservice from the design view. In the exception tab I noticed theres no way to create a custom exception and you can only search for a predefined exception. Is this a standard for webservices? Or can I just create my own exception classes and the...

Distributing a Java program with content

For the past couple of months I've been working on a game in java for a university project. It's coming up to the end of the project and I would like to compile the project into a single file which is easy to distribute. The game currently runs from inside the IDE and relies on the working directory being set somewhere specific (i.e. the...

Why Netbeans stop completing my php code?

It seems that Netbeans don't know about functions like mysql_query and complete only globals like $_SESSION or $_POST and stuff like echo and print (don't know about print_r)... Screenshot: http://img163.imageshack.us/img163/4290/clipboard03vr.png ...

Where to specify window component's position?

I created module in netBean platform, then I created window component there, and I want to specify default position in main window. For exapmle position "editor". Where I can do it? ...

Netbeans and osgi bundle development

Hi, I'm about to star an OSGI project using netbeans 6.8 and felix 2.0.4; can anybody provide me with tips and/or links to get started quickly ? Thanks in advance. ...

Are there any tools in IDEs to automatically fix comment formatting?

/* Suppose I have a multi-line comment with hard line-breaks * that are roughly uniform on the right side of the text, * and I want to add text to a line in order to make the * comment a bit more descriptive. */ Now, most unfortunately, I need to add text to one of the top lines. /* Suppose I have a multi-line comment with hard li...