netbeans

Error loading WebappClassLoader in Tomcat

I tried starting Tomcat and deploying my webapp from NetBeans after adding and configuring a new servlet. I got the following in the Tomcat error log: INFO: Marking servlet MyServlet as unavailable SEVERE: Error loading WebappClassLoader delegate: false repositories: /WEB-INF/classes/ ----------> Parent Classloader: org.apache.c...

C++: Code assistance in Netbeans on Linux

Hi, My IDE (NetBeans) thinks this is wrong code, but it compiles correct: std::cout << "i = " << i << std::endl; std::cout << add(5, 7) << std::endl; std::string test = "Boe"; std::cout << test << std::endl; He always says: unable to resolve identifier .... (.... = cout, endl, string); So I think it has something to do with the code...

Setting Scala "Platform" for NetBeans 6.8 on Ubuntu Lucid Lynx

I'm trying to use NetBeans 6.8 with Scala, and it can't find the "Scala Platform" (whatever that is supposed to be). I'm using Ubuntu Lucid Lynx (fully updated). The libraries are in /usr/share/java, the binaries in /usr/bin, the docs in /usr/share/doc/scala-doc/, and the sources are uninstalled. I think that NetBeans is looking for Sca...

Netbeans + Xdebug + php not working

My netbeans does not work the breakpoints using xdebug, my configuration looks correct, so I configured the first time I ran up to stop debugging the first time since then has never worked, someone had this problem? The version of my netbeans is 6.8 and the version of php is 2.5.2. my php.ini: zend_extension_ts = d:\wamp\bin\php\php5.2...

NetBeans shortcut key for collapsing/expanding a method

JAVA - NETBEANS This is an IDE question I am always working with collapsed methods, because I want to be able to see my methods all together. This is a little time consuming because I have to use the mouse to scroll up to the declaration of the method and click on the - (minus) icon. And then respectively go to the method I want to wor...

Printing a Project in NetBeans

i have an exam and i would like to print my java (in netbeans project) files as fast as possible. i was wondering is there a way to print an entire project/project in netbeans with one click? or do you have a better suggestion? (i will be using windows xp and there is no nice editor like gedit installed) ...

How to add netbeans platform for compiling iReport sources?

I need to customize iReport sources.. (not creating plugin) Currently i am using iReport 3.7.2 and netbeans 6.5.1 ide. I downloaded the netbeans platform 6.0.1 and followed the procedures as shown in the jaspersoft link on how to compile iReport sources. But when i tried to compile the sources. I am getting errors like libs-xerces-jar ...

Cannot Access Zend Framework Libray through a PHP File?

I have kept the zend library in E:\wamp\www\Library\ this directory exists in the include_path inside php.ini of PHP and Apache both But whenever I am trying to use a class, it sends a error message that it cannot find the file ...

Using NetBeans for Python GUI development

Is NetBeans recommended for developing a GUI for a Python app? Does it have a form/screen builder for Python apps, like Dabo? ...

django and netbeans?

I use netbeans for all of my Linux development (C/C++, Php, Python, Symfony). I am now learning django, and wondered if I could use netbeans as the IDE. I cant seem to find a Django plugin for netbeans. Is there one?. If no when is one planned? Worst case scenario, I'll have to use another IDE (I really dont want to learn another IDE) ...

Confusion of integrating libs in Ruby on Rails

Hi, I am new to Ruby on Rails. I am using Netbeans IDE. While importing a new project, I used the inbuilt JRuby 1.4 that comes with Netbeans as the Ruby version. The main reason I want the JRuby is because of its debugging abilities. Now the doubt/problem I have is integrating libraries/plugins. One of the assignments I have requires ...

Netbeans Java SE GUI Builder: private initComponents() problem

When I build a GUI for my Java SE app with Netbeans GUI builder, it puts all the codes in the initComponents() method which is private. I could not change it to public. So, all the components are accessible only to the class containing the UI. I want to access those components from another class so that I can write custom event handlers...

NETBEANS - Best configuration of NetBeans Windows to work with 2 monitors

NETBEANS This is an IDE question. I am used to work with a code window as big as it can be. So I use 2 monitors and I have: In the 1st monitor: The Project/Files/Services Window together with the Navigator/Inspector Window The Code Window (Editor) using the most space of the monitor. In the 2nd monitor: The Palette/Properties Wi...

What is the best way to put spaces between objects? Can a Swing JSeparator object be an invisible separator?

I am learning Swing, and finding the behaviour of the JSeparator a bit surprising. I am trying to put two buttons inside a panel using Swing widgets, inside the NetBeans IDE, my JSeparator "border" property is set to "(No border)" in the properties pane. Nevertheless a line appears. This is not what I would expect from a separator o...

NetBeans and Tomcat Virtual Hosts

Hello all. Let me start out by saying that I am new to Java/JSP web development, so I may have totally missed something simple. If so, I apologize for it in advance. Basically, what I am trying to do is setup local development sites in Tomcat as a separate Virtual Host, similiar to how I have setup Apache Virtual Hosts in the past. I...

why doesnt netbeans support python and django?

i wonder why sun doesnt support python and django in netbeans? cause i am choosing between learning ruby/rails or python/django. does this mean that i should use ruby/rails cause then support comes out of the box? seems that other applications favor support for ruby over python. ...

only shows php and not the other languages in netbeans 6.9?

i have installed the latest netbeans 6.9 rc2 for all languages, but i only see the php tab when i use it. prior to this version i had 6.9 beta for only php, but i have deleted that folder. maybe the settings are still there, so it only shows php? how can i clean everything so that it shows all other languages? thanks ...

Java Swing- Create a function to add elements to JScrollPanel

I want to create a function so that i can call add JLabel's, etc inside the JScrollPanel. I am not sure what the command is in NetBeans. I tried doing JScrollPanel -> events -> container -> componentAdded to create the code below. But nothing shows up when i add code to that function. private void initComponents() { scro...

NetBeanse J2ME DataBinding

Hi all , I build an application based on the new Netbeanse data binding feature . I have a problem using this fature on Motorola IDEN mobile (i680) , I get a java exception while trying to install the application on the mobile . What can be the problem . Thanks in advance ... ...

Netbeans PHP require_once() problem

I'm stumped! In PHP in Netbeans (6.8), a project has two files, file1.php and file2.php file1.php starts require_once('file2.php'); and I get Warning: require_once(query_form.php): failed to open stream: No such file or directory in C:\xampp\htdocs\my_project\file1.php on line 3 Call Stack: 0.0741 322920 1. {main}() C:\xampp\h...