Solved

java swing Feedback

Posted on 2003-12-11
6
313 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
  • 2
6 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 50 total points
Comment Utility
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
Comment Utility
what if i add in some radio buttons to each question, how can i do that?
0
 
LVL 15

Expert Comment

by:Javatm
Comment Utility
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
Comment Utility
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now