Java Novice Question (don't shoot me)

Hello,
I wanted to ask a very novice question, that I can't seem to find an answer to.
I have Eclipse IDE for Java, and I also have Visual Studio (C#). In Visual Studio, you can create a application project, drag and drop a button, then double click the button tod be taken to the code behind the button, that's where you insert your code on what you want the button to do once you click it.
Is there something similiar to that in Java (I know there must be), where you can drag and drop textboxes, buttons, etc., and then double click those items to code?
Any light that ANYONE can shed on this would be highly appreciated!
Thanks!
Waleed

waldo33 wrote:
Okay, thank you for the patience! I will download the "kitchen sink" version, and by that I assume you mean the biggest Netbeans file :)Yeap.
Regarding "building a website"...by that I mean...I want to build a simple website, which incorporates (MySQL which I already installed, installed the ConnectorJ, etc.), a front end (JSP would be nice, which i'm learning), and ofcourse the backend Java coding.Right. Thats not what I got from your first message. I thought your were simply after create a rich client (I.e. Java Swing). Creating a web site is a more advanced topic. I don't know of any GUI editors for it, but then I don't do it (I half expect someone to post IntelliJ IDEA now). But we are just talking HTML and lots of HTML editors exist.
I don't care how easy the website, as long as I can learn (on a basic level). You are going to have to look up tutorials on Java EE.Personally I don't think this is a "new to java" topic.
(Scary, covers all of JEE) [The Java EE 5 Tutorial|http://java.sun.com/javaee/5/docs/tutorial/doc/]
Re: "Right tool for right job"...are you suggesting that I have Eclipse for coding Java, and NetBeans for more GUI apps and developement?The UI for rich clients I do in NetBeans. Everything else I do in Eclipse. But this is just me, and I'm luck enough to be able to dictate tool chains.

Similar Messages

  • I forgot my Apple ID password and I can't reset it because my email account has been closed and the security questions don't work

    I Forgot my Apple ID password and I can't reset it because the related email account has been closed and the security questions don't work! How do I solve this? Thank you.

    Click here and contact Apple.
    (113292)

  • Stupid Java Development Question (JDK? XCode?)

    I'm brand new to OS X, so forgive my noobness. I'm still getting used to OS X.
    I'm doing this little Java tutorial. It says I need to download an install the Java JDK. As I understand it, Java is already built into OS X and I need to use XCode to create and compile Java programs instead of the JDK....where the heck is XCode?
    If anyone knows, I could really use some help. Just finished going through the basics of how to make simple programs in Java but I don't know what to do! Lol. I feel so dumb. I kind of want to call Apple, but I think I'd feel to stupid. I think I have to download XCode? That's what I'm doing now. I had to sign up with the ADC. It's a big file though, 915MB, and it's probably going to take around an hour. I hope someone can tell me if I'm doing the right thing or not before then. I'm guessing I just download this and use this to write Java? How then do I compile? The tutorial is telling me to go to the command prompt and do:
    Code:
    javac filename.java
    to compile the class and then,
    Code:
    java classname
    to execute.
    I'm guessing that in OS X I'm going to use the terminal to accomplish this?
    Any help would be appreciated. I feel really dumb right now. The tutorial only covers how to do this in Windows and Solaris.

    Hi Ralph
    I'm doing this little Java tutorial. It says I need
    to download an install the Java JDK. As I understand
    it, Java is already built into OS X and I need to use
    XCode to create and compile Java programs instead of
    the JDK....where the heck is XCode?
    Go to http://developer.apple.com/ and sign up for a free Apple Developer Connection account. Once you've logged in, go to Downloads and you'll be able to find the latest versions of Xcode and Java. When it comes to downloading Java, take care to choose the version which matches your hardware and version of OS X.
    [snip] It's a big file though, 915MB,
    and it's probably going to take around an hour. I
    hope someone can tell me if I'm doing the right thing
    or not before then. I'm guessing I just download this
    and use this to write Java? How then do I compile?
    Yes - they're big files and you need to persevere with the downloads. Once you've got Xcode and Java installed, you can find some newby tutorials on my web page here:
    http://www.cems.uwe.ac.uk/~lrlang/javasoundmusic/index.html
    You'll find the links to tutorials near the bottom of the page.
    The tutorial is telling me to go to the command
    prompt and do:
    Code:
    javac filename.java
    to compile the class and then,
    Code:
    java classname
    to execute.
    I'm guessing that in OS X I'm going to use the
    terminal to accomplish this?
    Yes. This technique works for any Unix system (including OS X), and I used to teach my students to work this way, but I no longer recommend it. As you guessed, you have to type in these commands into the Utilities/Terminal program. However, to be effective you also need to know a number of other Unix commands like "cd" "ls", "pwd" and a few more which you can find in any introductory book on Unix. You also need to use a text editor (such as TextEdit) to create your Java source files and then save them to the hard disk. While this technique will work, you won't get the syntax highlighting and colouring that is offered by the Xcode editor.
    Any help would be appreciated. I feel really dumb
    right now. The tutorial only covers how to do this
    in Windows and Solaris.
    I think that if you follow my tutorials you will very quickly get up and running with Java development. I hope you enjoy working with Java as much as I do. You can always come back here if you need more help.
    Bob

  • Flash/java remoting question

    Hi,
    i'm new to flash remoting and am finding using it with java
    quite troublesome. I've also found using the FileReference class
    troublesome if you use java. my question is can you somehow tie the
    remoting functionality to the FileReference.upload method
    fucntionality??
    thanks in advance

    I will use the program with photo detector to test
    the response time of the LCD screenWhy Java?I second that. With a test like that, you want to reduce the experiment down to a single variable, in this case the lcd response time. Using a java program to feed the monitor input introduces a second variable, the response time of the program. The java program's timer may not be exact, the components may not be repainted completely quickly enough, etc. If this is just for your own amusement, maybe that doesn't matter, but if you want your results to have any reliability, you'll need a more accurate and controllable input source.

  • HT204053 My security question don't match ones that I used so it won't allow me in but I have access to everything because I have my password.

    My security question don't match ones that I used so it won't allow me in but I have access to everything because I have my password.

    If you can't correctly guess that address, you need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (97436)

  • Requested password change, email from iforgot never arrives in my inbox.  The answers to the security questions don't work either.

    I am trying to set up my son's new itouch message and Face Time.  I made an apple id for him, but think the process got interrupted before I finished and now we can't sign into his account.  I went to manage apple id, requested an email be sent to reset password (because answers to security questions don't work), it shows an email was sent, but it never shows up in his inbox or mine which is his rescue email.  I tried creating a new apple id with his email, but it shows it already exists.  I am not sure what to do next.  Does anyone have any suggestions?  Everything else is run through my iTunes account so he can have access to all the apps and music that the rest of the family has purchased/uploaded.  Help please!  Thanks.

    Contact iTunes
    Apple - Support - iTunes - Contact Us
    Rescue email address and how to reset Apple ID security questions

  • Can I post here(Acrobat Windows) Java Script questions here?

    Hello
    Can I post here(Acrobat Windows) Java Script questions here? If not, wht is the correct forum?
    THank you

    Back up and down to Acrobat Scripting. Bot Windows and MacIntosh Acrobat versions use the same JavaScript.
    If you are using LIVECYCLE DESIGNER use their forums. The JavaScript syntax and objects are different in LIVECYCLE DESIGNER!

  • HT1918 My known answers to my security questions don't match.

    My known answers to my security questions don't match. How can I change them?

    If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address then see if the instructions on this user tip helps : https://discussions.apple.com/docs/DOC-4551

  • Simple Java Coding Question

    I know this is a simple question, but I can't search for the answer to this because it involves syntax that Google and the like don't seem to search for..
    I am trying to figure out some Java code that I have found. I would like to know what:
    a[--i] and a[++j] mean.
    My first thought was that they meant to look at the position in the array one less (or more) than i (j). But that doesn't seem to be the case. A is an array of Strings, if that matters...
    Thanks for you help.

    muiajc wrote:
    I know this is a simple question, but I can't search for the answer to this because it involves syntax that Google and the like don't seem to search for..
    I am trying to figure out some Java code that I have found. I would like to know what:
    a[--i] and a[++j] mean.
    It mean increase/decrease the int i/j by 1. This is done before it gets you the value of a[]. for example if i=5 and you said a[--i] it is really a[4] and i is now equal to 4;

  • Simple Java EJB question.

    When it comes to EJB v3 Remote and Local interfaces,
    (With JBoss EJB Container Software in mind, for this question,)
    -Does the Remote interface for the EJB include method signatures from the Bean class
    -that are to be seen
    -that are to be hidden?
    -Does the Local interface for the EJB include method signatures from the Bean class
    -that are to be seen
    -that are to be hidden?
    Which is which for
    -EJB 2.1 ?
    -EJB 3.x ?
    - is EJB 3.x reverse compatible in that it allows use of the javax.ejb.* interfaces,
    and would accept a EJB 2.1 approach, or does it force one to use Annotations
    exclusively?
    Edited by: Zac1234 on Jul 21, 2010 5:21 PM

    muiajc wrote:
    I know this is a simple question, but I can't search for the answer to this because it involves syntax that Google and the like don't seem to search for..
    I am trying to figure out some Java code that I have found. I would like to know what:
    a[--i] and a[++j] mean.
    It mean increase/decrease the int i/j by 1. This is done before it gets you the value of a[]. for example if i=5 and you said a[--i] it is really a[4] and i is now equal to 4;

  • Simple Java Sound Question...

    Can I draw waveforms while capturing data? If yes, how. If no, why.
    Thanks. I need the answer ASAP, please help.

    Hi nfactorial,
    Can I draw waveforms while capturing data?If you would like to do that in Java you would need to know about how to use the Java language in general and especially about the Java Sound and Java2D APIs.
    If yes, how.It would be too much to explain to answer such a general question. A general answer is, you need to use the Java Sound API to capture the data for which a waveform should be drawn. The Sound API delivers data as a stream of bytes typically encoded in pulse coded modulation (PCM) format. The data stream has digital samples each representing a level of sound pressure for a certain point in time. The stream of samples in the amplitude/time domain need to be transformed to a spectrum of samples in the amplitude/frequency domain, i.e. a number of PCM samples need to be mapped to the frequencies that should be displayed. This is done with the fast fourier transformation algorithm. Each set of amplitude/frequency values can then be displayed as a waveform by using some line drawing logic. The entire process would need to run constantly, i.e. as bytes are received from the sound data stream transformation and drawing is triggered.
    Related readings:
    Java Tutorial
    http://java.sun.com/docs/books/tutorial/
    Java Sound Documentation
    http://java.sun.com/j2se/1.5.0/docs/guide/sound/index.html
    Java Sound API Programmer's Guide
    http://java.sun.com/j2se/1.5.0/docs/guide/sound/programmer_guide/contents.html
    Java Sound Resources
    http.//www.jsresources.org
    Java 2D Graphics Tutorial
    http://java.sun.com/docs/books/tutorial/2d/index.html
    Wikipedia on fast fourier transformation
    http://en.wikipedia.org/wiki/Fast_fourier_transform
    HTH
    Ulrich

  • Simple java pgm - question

    Hallo,
    to the following pgm I had question:
    static void printPrimes (int max) (= wavy bracket;
    boolean(should be angular brackets) sieve = new booolean (angular br max+1
    angular br)
    int i,j;
    for (i=2; i = max;i++)sieve(angluarbr i angular br)= true
    i= 2
    while (i= <= max;) (=wavy bracket Out.println (i+ " "); // is prime
    for (j=i; j <= j+i) sieve(angular br j angularb.) = false;
    while (i <= maxAmpersandAmpersand !sieve (angular br angular br)I++;
    ) wavy br ) wavy br.
    I hope this is still kind of readable.
    Q's are:
    after the first "for" there is a new i=2, which seems to staty at 2 all the time; the following while does not change this value ( the beginning for i++ does not change this) and so seems to print 2 at all times (??)
    then the inner loop seems to count up all the doubbles of the new prime number and thrwoes it out as false at the end of it;
    the i values (increased with i++ seemsto refere at all times to the unit numbers and only indirect to the un it values, which are written/ assigned to it (??)
    I seem to wonder how the pgm can print out anythings else the 2's.
    I would appreciate any help to that.
    ml
    griz

    I hope this is still kind of readable.No, it's not. http://forum.java.sun.com/help.jspa?sec=formatting
    Why are you omitting the braces and brackets? And why don't you type "program"? Aren't we worth the additional time it takes?
    Q's are:
    after the first "for" there is a new i=2, which
    seems to staty at 2 all the time; the following
    while does not change this value Why should it? You don't tell it to.
    ( the beginning for
    i++ does not change this)It does. It just gets re-set to 2 after the for loop-
    and so seems to print 2 at
    all times (??)Yeah. What else?
    then the inner loop seems to count up all the
    doubbles of the new prime number and thrwoes it out
    as false at the end of it; That part is definitely unreadable.

  • Importing Java Class Question

    Hello,
    Sorry for such a newbie question and such a long post, I did remember how to do this before but now I can't for the life of me remember. Anyhow, I have a simple question about importing custom-made java classes, from another directory in the windows operating system. I have the classpath set, and also I realize that because the two files below are in the same directory theres no need for an import statement as Java will look for the class in the same directory.
    But I would like to know how the import statement is suppose to look to import a custom made java class from another directory, (assuming of course that I set the correct classpath)
    here's the java class location:
    c:\school\csc365\narcus.java
    //narcus.java
    import java.io.*;
    class narcus implements Comparable
    String firstName = "firstName";
    String lastName = "lastName";
         public narcus()
         firstName = firstName;
         lastName = lastName;
         public narcus(String f)
         firstName = f;
         lastName = lastName;
         public narcus(String f, String l)
         firstName = f;
         lastName = l;
    public String getFirst()
    return "first..";
         public int compareTo(Object e)
         return 1;
    Here's the location of the driver program thats suppose to use the narcus.java class
    c:\school\csc365\test.java
    //test.java
    //import statement? maybe import "c:\\school\\csc365\\*"; ?
    import java.io.*;
    class test
    public static void main(String[] args)
         narcus jim = new narcus();
         System.out.println("omg\n");
         System.out.println(jim.getFirst());
    And also, here is my classpath:
    PATH=c:\school\csc365\;c:\school\
    The classpath also points to the jdk libraries and few other directories but I didn't write that above, as it probably isn't relevant.
    I've tried the following import statements.
    import "c:\\school\csc365\\narcus.java";
    import "narcus.java";
    import "c:\\school\\csc365\\*";
    But I keep getting an error that says:
    test.java:1 <identifier> expected
    Any help is appreciated!

    Hi Folks,
    I am new to this forum, heard that interesting discussions always happens on this forum so immediately registered,don't want to miss any oppurtunity to participate in discussions.
    I have pretty much basic question regarding compiling and exceuting files in different packages.I have the following directory structure
    C:\Projects\WDPROEast\Development\CommonService\Code\Java from where java files stored in different packages as follows:
    com\wdpro\commerce\common\crm\dae\nautilus\adapter directory has java files in com.wdpro.commerce.coomon.crm.dae.nautilus.adapter package.
    com\wdpro\commerce\common\dae\exception has java files with package named com.wdpro.commerce.common.dae.exception.
    com\wdpro\commerce\common\dls\exception has java files with corresponding package name.
    com\wdpro\commerce\common\dto has java files under proper package name.
    com\wdpro\commerce\common\exception has java files with appropriate package name.
    com\wdpro\commerce\common\util has java files with package name. I am starting at Java Directory,want to compile and run file named a.java in com.wdpro.commerce.coomon.crm.dae.nautilus.adapter package with having all other java files on classpath as follows
    so I issued command for compilation as follows C:\Projects\WDPROEast\Development\CommonService\Code\Java>javac com/wdpro/commerce/common/crm/dae/nautilus/ada
    pter/a.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/NautilusServiceUtility.java com/wdp
    ro/commerce/common/crm/dae/nautilus/adapter/URLReader.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/
    b.java com/wdpro/commerce/common/dae/exception/*.java com/wdpro/commerce/common/dto/*.java
    com/wdpro/commerce/common/exception/*.java com/wdpro/commerce/common/util/*.java com/wdpro/commerce/common/dl
    s/exception/*.java It compiled greatly but when I issue command to run a.class file as
    C:\Projects\WDPROEast\Development\CommonService\Code\Java>java com/wdpro/commerce/common/crm/dae/nautilus/adap
    ter/UtilityAccesssit's giving following exception
    Exception in thread "main" java.lang.NoClassDefFoundError: com/wdpro/commerce/common/crm/dae/nautilus/adapter/
    UtilityAccesssbut when I run a.java with the following command
    C:\Projects\WDPROEast\Development\CommonService\Code\Java>java com/wdpro/commerce/common/crm/dae/nautilus/adap
    ter/UtilityAccess com/wdpro/commerce/common/crm/dae/nautilus/adapter/NautilusServiceUtility.java com/wdpro/com
    merce/common/crm/dae/nautilus/adapter/URLReader.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/Nautil
    usAccessUtility.java com/wdpro/commerce/common/dae/exception/*.java com/wdpro/commerce/common/dto/*.java com/w
    dpro/commerce/common/exception/*.java com/wdpro/commerce/common/util/*.java com/wdpro/commerce/common/dls/exce
    ption/*.javaSo my question do I need to add all required java files to path when required class files are under different packages?is it manadatory.
    I hope you understand my question,pass me any comments you may have.
    Thanks alot,
    Anu

  • Java Programming Question

    Hi,Everybody:
    I have a question about Java programming. If I want to write a java class code called if.java like below, how should I do to make it pass the java compiler and make it work. I know the words "if" and "for" are reserved words. I just try to figure it out that is it possible??? Do I need to create my own java compiler or recompiler?
    public class if
    public if() { }
    public static for test()
    return new for();
    public class for
    public for() { System.out.println("for class constructor"); }
    }

    I don't think you can bypass the compiler's rejection of this. There is little point to naming the classes after keywords. Not sure if it's case sensitive though, so maybe "If" or "For"? Otherwise, try "if_" or "for_"

  • Java List question

    Dear all,
    My development tool is JDev. 10.1.3.
    I've a session bean which the list contains several fields. The list defined like this:
    List<cell> List1 = new ArrayList(); cell in a cell.java.
    I created List2, List<cell> List2 = new ArrayList(); which the list contents are copied from List1.
    On the jspx, List1 is on the left hand side, it rendered out as a table, user can select the row and click the button "Add item to List2". On the right hand side, List2 allows user input information. User can choose List1 item to List2 repeatly.
    The question is, e.g. List1 and List2 contain A and B items initially. User inputted information in List2 for A item. And then, choose A item from List1 to List2 again. The new selected item carried the information that user input in List2 before.... I don't know why?
    Then, I modified the List2 like this: List<dupcell> List2 = new ArrayList(); and hope the information will not be carried.
    However, it doesn't work..
    Can anyone help me? Please.
    Thanks for any suggeston!
    Regards.

    Sorry, my English is not good...
    my situation like this:
    "List1" defined in a session bean, "shoppingCart.java", like this:
    List<cell> List1 = new ArrayList();
    In the cell.java code, like this:
    public class cell {
    private String id;
    private String type;
    private Number quantity;
    private String remarks;
    public cell() {}
    public cell(Number id) {
    this.Id = id;
    /** defined getter and setter **/
    In a JSF page1, user selected the id and id will be stored in the session bean. e.g. user selected id "A" and "B".
    Then, user click a button and go to JSF page2.
    This button call a function, the List1 copy to List2, like this:
    public String copy_to_new(){
    List2.addAll(Utils.getShoppingCart().getList1());
    return "page2"; //go to JSF page2
    Two lists were created.
    List1 - user select item, move the item to List2.
    List2 - user input the information: type, quantity and remarks. e.g. user inputted information for id "A": type = "small", quantity = 1, remarks = "urgent".
    Now, user click id "A" from List1 to List2.
    On List2, it shows:
    Id Type Quantity Remarks
    A small 1 urgent
    B
    A small 1 urgent <-- new selected row (I don't want this)
    Question: How can I create a new row that it does not carry the previous information, like this:
    Id Type Quantity Remarks
    A small 1 urgent
    B
    A <-- new selected row
    Thank you very much for any helps!!
    Regards.

Maybe you are looking for

  • What has happened to the pdf toolbar in Safari 5.1.2?

    I'm using Safari 5.1.2 with OS X Lion. Usually when I open a pdf page in Safari and move the mouse pointer to the bottom of the Safari window, the pdf toolbar shows options like zooming, open in Preview.app or save to downloads folder, but this funct

  • How to dynamically display in Image Field with external pic source

    Hi Guys, I have the following scenario: I need to have a form that needs to display an x amount of images on the same page area.  I have not found any documention with regards to creating an undisclosed number of Image Field elements, so I am experim

  • Copy back of Prodution Error on Org Structure

    Please can any of you guru's out there help. We have just done a copyback from production to SR2 (QA system) and there is an error with the org structure. We use extended Classic Scenrio and we replicate the org structure from ECQ to SRQ. (integrated

  • Using and synchronizing applications from Windows Server 2012 on local desktop

    I have Visual Studio 2010 on my remote server.  How do I use Visual Studio  software from the server on my local laptop and sync it with the server?

  • When is my fault going to be fixed?

    4 years ago we signed up to BT I took 4/5 weeks to get connected after many countless lies of 24 hours or next day. 4 weeks ago we alerted BT to our change or house on the 27th october, giving them 4 weeks to sort us out, they guaranteed we'd be up a