Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-02-2010, 10:17 AM   PM User | #1
Schitzo
New to the CF scene

 
Join Date: Oct 2010
Location: S.A.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Schitzo is an unknown quantity at this point
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 11:45 AM..
Schitzo is offline   Reply With Quote
Old 10-03-2010, 05:21 AM   PM User | #2
tfburges
Regular Coder

 
Join Date: May 2009
Posts: 425
Thanks: 3
Thanked 62 Times in 61 Posts
tfburges is an unknown quantity at this point
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.
tfburges is offline   Reply With Quote
Old 10-03-2010, 04:28 PM   PM User | #3
Schitzo
New to the CF scene

 
Join Date: Oct 2010
Location: S.A.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Schitzo is an unknown quantity at this point
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.
Schitzo is offline   Reply With Quote
Old 10-03-2010, 05:27 PM   PM User | #4
tfburges
Regular Coder

 
Join Date: May 2009
Posts: 425
Thanks: 3
Thanked 62 Times in 61 Posts
tfburges is an unknown quantity at this point
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.
tfburges is offline   Reply With Quote
Old 10-03-2010, 08:01 PM   PM User | #5
Schitzo
New to the CF scene

 
Join Date: Oct 2010
Location: S.A.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Schitzo is an unknown quantity at this point
Ok but thanx anyways. Peace
Schitzo is offline   Reply With Quote
Old 10-04-2010, 06:27 PM   PM User | #6
Schitzo
New to the CF scene

 
Join Date: Oct 2010
Location: S.A.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Schitzo is an unknown quantity at this point
Ok I got a better Idea I'm using panels and just changing their visibility everytime.
Schitzo is offline   Reply With Quote
Old 10-05-2010, 11:34 PM   PM User | #7
iPromote4You
New to the CF scene

 
Join Date: Oct 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
iPromote4You is an unknown quantity at this point
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.
iPromote4You is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:52 AM.


Advertisement
Log in to turn off these ads.