netbeans

netbeans autocompletion when using singleton to retrieve object instead of new operator?

when i use the 'new' operator to instantiate a class, netbeans has no problem to autocomplete the members of the object. $instance = new Singleton(); $instance-> // shows test() method but when i use a singleton to retrieve an object it cannot autocomplete the members in the object retrieved. the getInstance code looks like this: pu...

Error when creating database in MySQL using Netbeans 6.8

I am trying to create a database using MySQL statements in NetBeans 6.8. However, I keep getting Error code 1064. I don't know what the problem is really since the same statements work in NetBeans 6.0. Here is the error: Error code 1064, SQL state 42000: You have an error in your SQL syntax; check the manual that corresponds to your MyS...

how to omit a folder from mercurial versioning in netbeans?

i'm using netbeans with the built-in mercurial support and want to omit a sub-folder from versioning. how do i do that? thanks! ...

xdebug for PHP 5.2 on Windows 7 64bit

Hi all, Previous posters have linked to http://fusionxlan.com/PHPx64.php to install 64-bit capable versions of xdebug. I need PHP 5.2 compatibility for Magento, and fusionxlan has disappeared and archive.org doesn't have a copy. Does anyone have a copy of the fusionxlan download or dll that they can share? Thanks, JD ...

Glassfish v3 Domain Output Log is not ending after the netbeans debug is stopped

I would like to know if anybody is experiencing the problem on endless if log that is too long when Netbeans Debugging session is stopped? We use java logging in our web application but if I stop the debug, suddenly in the Output > Glassfish v3 Domain window, there are a lot of log that is being dump. The log would last so long, that I n...

How to write modular code in netbeans java swing apllications?

I am creating my java Swing application in Netbeans. At present there are more than 2000 lines of code. Is it right to have these many number of lines in a single file. Moreover the IDE has become slow when i am editing this file. Is there any way to overcome this? ...

How do i start developing a database application using Oracle + Net Beans (Java) ?

I have thought of creating my first database application for one of my projects using Oracle and Java. I have chosen Netbeans as my development environment. I have a few questions to getting started. Please bare with me as I'm a complete beginner to Oracle + Netbeans This will be a data intensive (yet still for a college project) datab...

Run component action from parent in Netbeans

Hi, I am stuck with a problem in Netbeans. I created JPanel component and created an action in it. Now when I use this component in parent frame, I want to create a frame toolbar, that calls the component action. How can I do that? ...

NetBeans/C++ - how to choose the "main file" other than when creating a project?

Hello, when I am creating a C++ project in NetBeans, there is a toggle button "Create main file" - I just enter a name for it and that's all. The problem is that I cannot put that file in a "different" folder than right in the main project folder. And I am "used" to put all the source files in a "src" folder (and its subfolders), but at...

symfony autocompletion in netbeans?

im using netbeans to code a web application with symfony. it seems that netbeans doesnt support symfony in auto completion. could one fix this problem. cause i want to be able to click on symfony's functions and get to the source, eg helper function and model methods and classes. ...

Changing the version on which netbeans runs

I am using Netbeans 6.7. I had first installed Java 1.5 before installing Netbeans. When i installed Netbeans it took Java 1.5 as the default version. Then i installed Java 1.6 on my machine. I need to change the default JDK of my netbeans to 1.6 not only to a specific project but to the whole Netbeans application. ...

NetBeans 6.8 - How to allow autocomplete scanning only for "Include path" within project?

I am using locally mounted FTP site as a project and scanning (for autocomplete) is going on for ages... So I thought of a workaround: Switch scanning somehow off. Allow scanning only to "Include path" I'll include in "Include Path" only files I need to be scanned. Results? No lagging, no scanning for ages. Is there any way of doing...

Way to reload XSLT without building a project again in Netbeans

Hi! When im working with Netbeans is there a way i can see my changed XSLT in the browser without building again my project? I have to change my XSLT very often to see the results and If i build my projects too many times the system hangs. Im working with ubuntu 10.04. ...

Codeigniter ignoring query strings. Only loading index page.

I have setup remote debugging in netbeans. It works except codeigniter only loads the default controller (home page). I have enabled query strings with $config['enable_query_strings'] = TRUE; The debugger opens up a page with the following url http://blinkfilms.ben.dev/myid/tests?XDEBUG_SESSION_START=netbeans-xdebug So codeignite...

view parents' class members in netbeans navigator?

in the navigator i can only see the current class' members. is there a way to include the parents' members. cause it is very useful when working with a framework, then you don't have to look for them in the documentation. i think this is available in eclipse but not netbeans. netbeans navigator ...

why compiling GLUT project in NetBeans with MinGW doesnt work.

Hello, I have this situation, I use Netbeans 6.8 with recommended MinGW+msys configuration, and compiling works. Now I have a project which is using glut, so I linked the libraries opengl32, glut32, glu32, gdi32, winmm, mingw32 in "project properties->build->linker->libraries", i manually selected all .lib files and the compilation works...

NetBeans needs Javadoc, Eclipse does not?

I just installed NetBeans, and want to try it out. Some context tips (popup javadoc stuff) work, but nothing detailed. It says "Javadoc not found...". However, I use Eclipse (my current IDE) and it has no problem showing detailed context tips. Do I HAVE to download the 100+mb zip file to get the javadoc, or can I have Netbeans point to...

How can I setup my Netbeans IDE for making Jave ME applications?

Ok, I have Netbeans 6.7.1 installed with the default Java SDK. I'm using Linux Mint. Now I'm told that I have to download Java Platform Micro Edition Software Development Kit 3.0 So, should I download this? And once I download and install this in Linux, what do I have to install for Netbeans so I can create a Mobile Application? I'm fa...

how to force operating system to give java more memory?

Hello, I've got problem with java jar files and memory. I use netbeans 6.7 to develop an application and this application need more memory to run because it converts another files. Whenever this application convert a 6-10 mb file, it'll crash. So I set netbeans VM Options : -Xms32m -Xmx256m and the application can convert 6-10mb files w...

NetBeans open project problem.

I created a NetBeans project. I took the project folders zipped to another machine and tried opening it in NetBeans. NetBeans didn't identify it as a NetBeans project. I have transfered projects in this way before but why is it not working now? Are any of my project files corrupted. Is there any way to retrieve my files from this? ...