Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 324
  • Last Modified:

java swing Feedback

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
iakix
Asked:
iakix
  • 2
2 Solutions
 
hongjunCommented:
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
 
iakixAuthor Commented:
what if i add in some radio buttons to each question, how can i do that?
0
 
JavatmCommented:
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now