Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Oct 2010
    Location
    S.A.
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation I desperately need help with GUI

    I need to know how you go about using a button to navigate between forms.
    I'm only just starting to use GUI and any help would be appreciated. I need this before Monday.
    Also, can you transfer a whole class?

    Thanx
    Last edited by Schitzo; 10-02-2010 at 12:45 PM.

  • #2
    Regular Coder
    Join Date
    May 2009
    Posts
    425
    Thanks
    3
    Thanked 62 Times in 61 Posts
    First off...
    Quote Originally Posted by http://www.codingforums.com/rules.htm
    1.5) No homework assignments - Do not post your entire homework assignment and request that other members do it for you. This is considered cheating, and your thread may even be used by your school to prove your guilt. Now, you may ask for advice or help on a specific aspect of your assignment that you're having trouble with. Use common sense as far as what's acceptable in terms of soliciting help with homework assignments.
    Second... you need to be a bit more descriptive. As with pretty much everything, there are a number of ways to achieve this. I'm going to assume that since you posted in the javascript forum this is to be done entirely with javascript (client-side)... although server-side processing is the typical route for something like this. You could of course combine both client and server-side routes and go with AJAX, however. That said, the easiest way to do it with javascript would be to use separate divs for each form and hide/show the divs as necessary.

  • #3
    New to the CF scene
    Join Date
    Oct 2010
    Location
    S.A.
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, I do not expect you to do my assignment I just need to know how to navigate between multiple jFrame forms in separate classes. This is only a minor aspect of my assignment. I need to know how to code a button that if you click on it it takes you to a different menu in a series of menus. I use netbeansIDE. We've been told to get help from anywhere we can so this is not against any rules and there wont be any trouble coming from this. Also this is the first time I'm using GUI. I'm coding server-side.

  • #4
    Regular Coder
    Join Date
    May 2009
    Posts
    425
    Thanks
    3
    Thanked 62 Times in 61 Posts
    Oh wow I misread the forum this post is under... It was late and I read it as javascript.

    I am somewhat familiar with java and netbeans - spent a few hundred hours with it in my digital processing class (a year and a half ago) creating filters for processing waveforms - but I don't think I'll be able to help you with this. I'm not familiar with jFrames/forms.

  • #5
    New to the CF scene
    Join Date
    Oct 2010
    Location
    S.A.
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok but thanx anyways. Peace

  • #6
    New to the CF scene
    Join Date
    Oct 2010
    Location
    S.A.
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok I got a better Idea I'm using panels and just changing their visibility everytime.

  • #7
    New to the CF scene
    Join Date
    Oct 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I believe you can use JButton, but my suggestion is if you are not taking a course and you are doing some personal programming, you can use a professional IDE that offers simple GUI integration.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •