473,325 Members | 2,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Can you please help me with GUI (Graphical User Interface)?

noylec
5
Hi... I'm new in Java programming. Can you please help me in creating a program using GUI (specifically, using swing)? Here is the problem given:

Create a program using GUI (swing) that will ask the user to input two numbers and display their sum. The program must create three dialog box: one input box for the first number, one input box for the second number and one output box for the sum.

I know it's kinda simple but I have no idea on how to create it using GUI. We haven't briefly tackled that topic that's why I'm having some problem.

Thank you so much...
Good Day...
Feb 21 '07 #1
3 1394
r035198x
13,262 8TB
Hi... I'm new in Java programming. Can you please help me in creating a program using GUI (specifically, using swing)? Here is the problem given:

Create a program using GUI (swing) that will ask the user to input two numbers and display their sum. The program must create three dialog box: one input box for the first number, one input box for the second number and one output box for the sum.

I know it's kinda simple but I have no idea on how to create it using GUI. We haven't briefly tackled that topic that's why I'm having some problem.

Thank you so much...
Good Day...
You don't need any advanced GUI components.
All you need for this is found here. Read it, select the approriate methods and write the code.
Feb 21 '07 #2
noylec
5
You don't need any advanced GUI components.
All you need for this is found here. Read it, select the approriate methods and write the code.

Yah I know. But my point is, I just want to learn how to make a personalize dialog box using swing. I know that we can use joptionpane but I want to learn how to make a personalize one. I hope you can help me.
Feb 22 '07 #3
r035198x
13,262 8TB
Yah I know. But my point is, I just want to learn how to make a personalize dialog box using swing. I know that we can use joptionpane but I want to learn how to make a personalize one. I hope you can help me.
Depends on how specialised you want your boxes to be. You may even have to use a JFame with JPanels e.t.c
Feb 22 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jesper | last post by:
I know that user interface library questions come up on this list every now and then. I've lurked here for a while and also searched google for anything that would fit my needs but haven't found...
0
by: Marc te Vruchte | last post by:
Over the past years i've been in contact with the same problem a number of times, creating a graphical user interface on complex XML documents. Personally these solutions have never been...
2
by: ·sÂA¤H | last post by:
I am doing a XML-based workflow management system in Final year project. I wanted to develop a GUI (drag and drop graphic) to define the rule of workflow and save it to XML. How can I generate...
5
by: Neil Hindry | last post by:
I wonder if you can help me. I am looking at getting back into programming after a break of a number of years and wonder if anyone knows of a decent free C/C++ compiler that uses a graphical...
1
by: John F. | last post by:
I want to write a client app in Python using wxWindows that connects to my FreeBSD server via SSH (using my machine account credentials) and runs a python or shell script when requested (by...
0
by: Francesc Guim Bernat | last post by:
Dear Colleagues, we developed a huge application based on Visual Studio C++ 6.0 windows forms, basically this application is one component that belongs to one distributed system, and it's...
2
by: Andrew | last post by:
Hi all, I have a question about the various types of graphical interface design that I can implement using asp.net n c# on Internet Explorer. I am writing a questionnaire, the problem is that...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
3
by: psbasha | last post by:
Hi, I would like to call the same aplication executable with and without Graphical User Interface. Requirement: With Tkinter User interface,user can give the inputs to run the application (...
6
by: psbasha | last post by:
Hi , Currenty I am storing the Graphical User Interface options in a string memeber variable of a class as show below: SampleCode Tkinter Modules ( Graphical User Interface):...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.