• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TextField inputs to act as outputs for another frame.

 
Shivam Shankar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there...I've been trying to make an application where the user enters the marks and Name and upon clicking the View Result button,a new frame should pop up displaying his name and Marksheet. however on using the setText() method for any TextField entry,the compiler gives errors.How to generate an event-driven application that does this upon clicking the View Result button??Please.help.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Shivam Shankar wrote:,the compiler gives errors

Please copy paste the stack trace from the console so we can help figure out what's going wrong.

Shivam Shankar wrote:How to generate an event-driven application that does this upon clicking the View Result button

Recommended reading http://docs.oracle.com/javase/tutorial/uiswing/misc/action.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic