Solved

java swing Feedback

Posted on 2003-12-11
6
317 Views
Last Modified: 2013-11-23
Hi experts i am trying to do a feedback form for java swing. i'm a beginner in this area. can someone help me out by giving me an example feedback with some questions java swing source codes?
0
Comment
Question by:iakix
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 50 total points
ID: 9926355
a simple example.

import javax.swing.JOptionPane;

class Example1 {
    public static void main(String[] args) {
        int myval;

        myval = Integer.parseInt(JOptionPane.showInputDialog("Please enter an integer", JOption.QUESTION_MESSAGE));
        JOptionPane.showMessageDialog(myVal, JOptionPane.INFORMATION_MESSAGE);
    }
}


hongjun
0
 

Author Comment

by:iakix
ID: 9926382
what if i add in some radio buttons to each question, how can i do that?
0
 
LVL 15

Expert Comment

by:Javatm
ID: 9926489
For you to be able to benifit from Java here are some links that
you need to study :

Need to know swing :
http://java.sun.com/docs/books/tutorial/uiswing/

New to learn Java :
http://java.sun.com/learning/new2java/index.html

Hope it helps . . .
Javatm
0
 
LVL 15

Assisted Solution

by:Javatm
Javatm earned 50 total points
ID: 9926495
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
tomcat startup error 5 135
Delete Android all or certain applications data programmatically 9 111
maven module vs maven project 3 73
Facing this issue for maven proxy setting 2 27
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question