File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes NetBeans IDE and console Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

NetBeans IDE and console

henry akoma
Greenhorn

Joined: May 17, 2005
Posts: 21
hi guys,
i wrote a code in an NetBeans IDE application which requires i enter String arguments from the console.




how do i enter this arguments in the IDE withoutusing the console?
a couple of suggestios came that are applicable to eclipse, but i use NetBeans.
please i need help in this area
thanx in advance
Swapan Mazumdar
Ranch Hand

Joined: Jul 23, 2003
Posts: 83
Hi Henry,

Right click the Project and click Run -> Running Project and fill in for the "Arguments" just below the "Main Class".

I assume you are using NetBeans 4.0.

cheers
Swapan
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Duplicated at http://www.coderanch.com/t/103983/vc/IDE-main-method-argument

Closing...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NetBeans IDE and console