Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Java Help

Java Help Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-13-2008, 11:29 AM
Monk_knom Monk_knom is offline
Newbie
 
Join Date: Apr 2008
Posts: 2
Rep Power: 0
Monk_knom is on a distinguished road
Default Open a form

Hi, am new here, so sorry if this is in the wrong section

I am using Swing and i have created a new form, when a button is clicked on the main form i wish this new form to open, i tried newform.open and newform.show. How do you get the new form to open?

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-14-2008, 01:39 PM
Xav's Avatar   
Xav Xav is offline
Guru
 
Join Date: Mar 2008
Location: London, England
Posts: 3,021
Last Blog:
I thought about progra...
Rep Power: 26
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: Open a form

Welcome to CodeCall, Monk_knom! YOu say open() and show() don't work? Then I'm stumped.
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-14-2008, 02:15 PM
Monk_knom Monk_knom is offline
Newbie
 
Join Date: Apr 2008
Posts: 2
Rep Power: 0
Monk_knom is on a distinguished road
Default Re: Open a form

I was putting .show & .open, i don't know why i did not try the above, anyway thanks for the help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-14-2008, 02:25 PM
Xav's Avatar   
Xav Xav is offline
Guru
 
Join Date: Mar 2008
Location: London, England
Posts: 3,021
Last Blog:
I thought about progra...
Rep Power: 26
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: Open a form

You're welcome.
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB2008 Tutorial - Print Screen travy92 VB Tutorials 21 06-19-2008 05:12 AM
Coding a change password form InternetGeek Visual Basic Programming 11 02-16-2008 01:53 PM
Windows form question (select a value from childform and populate in parent form) yasinirshad Visual Basic Programming 1 11-19-2007 11:42 AM
Calling a form from another form Void Managed C++ 1 07-01-2006 09:44 AM


All times are GMT -5. The time now is 10:17 AM.

Contest Stats

dargueta ........ 93.00000
John ........ 87.50000
Xav ........ 50.00000
MeTh0Dz ........ 20.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000

Contest Rules

Ads