473,809 Members | 2,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

simple beginners question

Hello,
I just got the SUN Java IDE. (Netbeans IDE 3.5.1)
Very very nice, and I worked myself through the tutorial (about making a
colorswitch).

Now, When I compile it gives no errors at all. So far so good.
But when I want to execute, it askes to "set project main class".
The only option it displays is the default project. But the "okay" button
won't highlight.
I cannot select anything else, nor can I roam directories to select
anything.

Can someone please help me out.
I feel kinda silly not even knowing how to start a kind of hello-world
applet. ;-)

best regards,
martin
Jul 17 '05 #1
10 3224
I strongly suggest that you learn Java, and not NetBeans.
Integrated Development Environments are intended for use by competent
developers only, since they hide many of the details of what is actually
happening, and it is assumed that the user can determine what that is.
Clearly, in this case, you can't.
Grab the Sun SDK and a decent text editor and get cracking.

--
Tony Morris
(BInfTech, Cert 3 I.T., SCJP[1.4], SCJD)
Software Engineer
IBM Australia - Tivoli Security Software

"martin" <no****@nowhere .org> wrote in message
news:bs******** **@reader10.wxs .nl...
Hello,
I just got the SUN Java IDE. (Netbeans IDE 3.5.1)
Very very nice, and I worked myself through the tutorial (about making a
colorswitch).

Now, When I compile it gives no errors at all. So far so good.
But when I want to execute, it askes to "set project main class".
The only option it displays is the default project. But the "okay" button
won't highlight.
I cannot select anything else, nor can I roam directories to select
anything.

Can someone please help me out.
I feel kinda silly not even knowing how to start a kind of hello-world
applet. ;-)

best regards,
martin

Jul 17 '05 #2
Any good suggestions for a good online tutorial on Java?
martin

"Tony Morris" <di******@optus net.com.au> wrote in message
news:3f******** *************** @news.optusnet. com.au...
I strongly suggest that you learn Java, and not NetBeans.
Integrated Development Environments are intended for use by competent
developers only, since they hide many of the details of what is actually
happening, and it is assumed that the user can determine what that is.
Clearly, in this case, you can't.
Grab the Sun SDK and a decent text editor and get cracking.

--
Tony Morris
(BInfTech, Cert 3 I.T., SCJP[1.4], SCJD)
Software Engineer
IBM Australia - Tivoli Security Software

"martin" <no****@nowhere .org> wrote in message
news:bs******** **@reader10.wxs .nl...
Hello,
I just got the SUN Java IDE. (Netbeans IDE 3.5.1)
Very very nice, and I worked myself through the tutorial (about making a
colorswitch).

Now, When I compile it gives no errors at all. So far so good.
But when I want to execute, it askes to "set project main class".
The only option it displays is the default project. But the "okay" button won't highlight.
I cannot select anything else, nor can I roam directories to select
anything.

Can someone please help me out.
I feel kinda silly not even knowing how to start a kind of hello-world
applet. ;-)

best regards,
martin


Jul 17 '05 #3
"martin" <no****@nowhere .org> wrote in message
news:bs******** **@reader10.wxs .nl...
Any good suggestions for a good online tutorial on Java?
martin

"Tony Morris" <di******@optus net.com.au> wrote in message
news:3f******** *************** @news.optusnet. com.au...
I strongly suggest that you learn Java, and not NetBeans.
Integrated Development Environments are intended for use by competent
developers only, since they hide many of the details of what is actually
happening, and it is assumed that the user can determine what that is.
Clearly, in this case, you can't.
Grab the Sun SDK and a decent text editor and get cracking.

--
Tony Morris
(BInfTech, Cert 3 I.T., SCJP[1.4], SCJD)
Software Engineer
IBM Australia - Tivoli Security Software

"martin" <no****@nowhere .org> wrote in message
news:bs******** **@reader10.wxs .nl...
Hello,
I just got the SUN Java IDE. (Netbeans IDE 3.5.1)
Very very nice, and I worked myself through the tutorial (about making a colorswitch).

Now, When I compile it gives no errors at all. So far so good.
But when I want to execute, it askes to "set project main class".
The only option it displays is the default project. But the "okay" button won't highlight.
I cannot select anything else, nor can I roam directories to select
anything.

Can someone please help me out.
I feel kinda silly not even knowing how to start a kind of hello-world
applet. ;-)

best regards,
martin



java.sun.com

Since they switched their site up, I don't know where the Java tutorial is
hiding.
Jul 17 '05 #4
Classes are not added to the 'project' by default.
Right click on each file and select Tools->Add To Project
The classes will then appear in the 'set project main class' dialog.

Alternatively just open the file with the main in and press F6 to execute.
Regards,

Jon.
"martin" <no****@nowhere .org> wrote in message
news:bs******** **@reader10.wxs .nl...
Hello,
I just got the SUN Java IDE. (Netbeans IDE 3.5.1)
Very very nice, and I worked myself through the tutorial (about making a
colorswitch).

Now, When I compile it gives no errors at all. So far so good.
But when I want to execute, it askes to "set project main class".
The only option it displays is the default project. But the "okay" button
won't highlight.
I cannot select anything else, nor can I roam directories to select
anything.

Can someone please help me out.
I feel kinda silly not even knowing how to start a kind of hello-world
applet. ;-)

best regards,
martin

Jul 17 '05 #5
http://java.sun.com/tutorial

There is a "Getting Started" section, and also sections covering various
topics in detail.
A good to place to start !

--
Tony Morris
(BInfTech, Cert 3 I.T., SCJP[1.4], SCJD)
Software Engineer
IBM Australia - Tivoli Security Software

"martin" <no****@nowhere .org> wrote in message
news:bs******** **@reader10.wxs .nl...
Any good suggestions for a good online tutorial on Java?
martin

"Tony Morris" <di******@optus net.com.au> wrote in message
news:3f******** *************** @news.optusnet. com.au...
I strongly suggest that you learn Java, and not NetBeans.
Integrated Development Environments are intended for use by competent
developers only, since they hide many of the details of what is actually
happening, and it is assumed that the user can determine what that is.
Clearly, in this case, you can't.
Grab the Sun SDK and a decent text editor and get cracking.

--
Tony Morris
(BInfTech, Cert 3 I.T., SCJP[1.4], SCJD)
Software Engineer
IBM Australia - Tivoli Security Software

"martin" <no****@nowhere .org> wrote in message
news:bs******** **@reader10.wxs .nl...
Hello,
I just got the SUN Java IDE. (Netbeans IDE 3.5.1)
Very very nice, and I worked myself through the tutorial (about making a colorswitch).

Now, When I compile it gives no errors at all. So far so good.
But when I want to execute, it askes to "set project main class".
The only option it displays is the default project. But the "okay" button won't highlight.
I cannot select anything else, nor can I roam directories to select
anything.

Can someone please help me out.
I feel kinda silly not even knowing how to start a kind of hello-world
applet. ;-)

best regards,
martin



Jul 17 '05 #6
"Tony Morris" <di******@optus net.com.au> wrote in message news:<3f******* *************** *@news.optusnet .com.au>...
I strongly suggest that you learn Java, and not NetBeans.
Integrated Development Environments are intended for use by competent
developers only, since they hide many of the details of what is actually
happening, and it is assumed that the user can determine what that is.
Clearly, in this case, you can't.
Grab the Sun SDK and a decent text editor and get cracking.


Now, to be fair, martin's question seems more like a NetBeans
beginner's question than a Java beginner's question. I've found
NetBeans to be a rather clunky and unintuitive IDE, even for
experienced Java programmers.
Jul 17 '05 #7
Karl von Laudermann wrote:
"Tony Morris" <di******@optus net.com.au> wrote in message news:<3f******* *************** *@news.optusnet .com.au>...
I strongly suggest that you learn Java, and not NetBeans.
Integrated Development Environments are intended for use by competent
developers only, since they hide many of the details of what is actually
happening, and it is assumed that the user can determine what that is.
Clearly, in this case, you can't.
Grab the Sun SDK and a decent text editor and get cracking.


I've got a similar question. I was introduced to Java through the
Borland IDE but only really understood what was going on when I
downloaded the SDK and used notepad, javac and java from the command
line. I've tried eclipse but what I'd really like is something that is
in between a simple text editor and an IDE. Automatically closing
brackets and a side panel listing the methods and data fields is fine,
and perhaps also pop-up access to APIs. But what I don't want is
something that decides a directory structure for me, introduces its own
files or manages my projects. So all I want is something that will help
me write the code, and I'll do the rest, i.e. file management and
compiling. Any recommendations ?

Jul 17 '05 #8
Paul wrote:
Karl von Laudermann wrote:
"Tony Morris" <di******@optus net.com.au> wrote in message
news:<3f******* *************** *@news.optusnet .com.au>...
I strongly suggest that you learn Java, and not NetBeans.
Integrated Development Environments are intended for use by competent
developers only, since they hide many of the details of what is actually
happening, and it is assumed that the user can determine what that is.
Clearly, in this case, you can't.
Grab the Sun SDK and a decent text editor and get cracking.



I've got a similar question. I was introduced to Java through the
Borland IDE but only really understood what was going on when I
downloaded the SDK and used notepad, javac and java from the command
line. I've tried eclipse but what I'd really like is something that is
in between a simple text editor and an IDE. Automatically closing
brackets and a side panel listing the methods and data fields is fine,
and perhaps also pop-up access to APIs. But what I don't want is
something that decides a directory structure for me, introduces its own
files or manages my projects. So all I want is something that will help
me write the code, and I'll do the rest, i.e. file management and
compiling. Any recommendations ?

http://www.jedit.org

Ray

Jul 17 '05 #9
Raymond DeCampo wrote:

<snip>

http://www.jedit.org


Thanks for that Raymond. I think it's exactly what I was looking for.

Paul

Jul 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2252
by: Richard Shea | last post by:
Hi - I'm trying to use ZODB but I'm having trouble getting started. Can anyone point me at a very simple example ? I've had a look at 'ZODB/ZEO Programming Guide' (http://zope.org/Wikis/ZODB/FrontPage/guide/node2.html) but although it's good stuff it's not clear to me how the pieces of example fit together to produce something that works. I've also read 'Introduction to the Zope Object Database'...
6
1570
by: Alec | last post by:
Newbie question. I have a database for displaying the names of bed and breakfasts searched for by the town they are in as below. <?php $result = @mysql_query ("SELECT name FROM site01_details WHERE town='$townsearch' AND code='sleep'"); while ($row = mysql_fetch_array($result))
4
2246
by: Eggnog | last post by:
Hi, Is there a newsgroups for beginners questions? Cheers, Nawg
6
1442
by: Brian | last post by:
Hello, I am using a beginners book on VB .net and already stumped....when using this code (below) , it will tell me that MsgBox is not valid. This is a very simple program and I can't figure out what the problem is: Public Class Form1 Inherits System.Windows.Forms.Form
12
2749
by: Michael S | last post by:
Why do people spend so much time writing complex generic types? for fun? to learn? for use? I think of generics like I do about operator overloading. Great to have as a language-feature, as it defines the language more completely. Great to use.
2
1546
by: =?Utf-8?B?UmFrZXNo?= | last post by:
Hi, I have worked in Windows development for some time and want to learn ASP.Net - Web Application. Can some one redirect me to some site where I can find some good start up for beginners course like Sample Applications with documentation. That would be of great help. Thanks in Advance:
8
1383
by: David Barr | last post by:
I am brand new to Python (this is my second day), and the only experience I have with programming was with VBA. Anyway, I'm posting this to see if anyone would be kind enough to help me with this (I suspect, very easy to solve) query. The following code is in a file which I am running through the interpreter with the execfile command, yet it yeilds no results. I appreciate I am obviously doing something really stupid here, but I can't...
9
1510
by: deja | last post by:
Hi all, For a couple of nights I have been trying to figure something out.. I am trying insert a couple of fields into a database. My url looks something like this; www.site.com/addlog.php?var1=blah&var2=blah The addlog.php script looks like this;
5
165
by: pawelr74 | last post by:
Hello all, I'm beginner in c#. In my web application I have class myTool with few public methods. How can I attached this class to other classes and use method from myTool class. In VB I can use Import, but if I try use using in C# I have Error Message The type or namespace name 'type/namespace' could not be found (are you missing a using directive or an assembly reference?) code:
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9601
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10379
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7660
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3014
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.