Results 1 to 2 of 2
  1. #1
    borOOmir is offline Member
    Join Date
    Mar 2012
    Posts
    1
    Rep Power
    0

    Question Making horoscope using spinner or combo box

    Can someone suggest me, how should i do this task.
    My task contains date of birth as a input, using spinner or combo box and then with pressing a button I have to obtain horoscope sign regarding the date of birth that goes as a input

    I'll be really grateful if you give me some directions :)

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Making horoscope using spinner or combo box

    I'd first create a JPanel, I'd add a JSpinner for days and a JComboBox for months, I'd add a JButton, then I'd give the JButton an ActionListener that extracted the information and displayed the results. If I were stuck on any step, I'd check the respective Swing tutorials which I have linked to in my browser here: Using Swing Components.

    Good luck!

Similar Threads

  1. Spinner does not get updated !
    By DennisM in forum NetBeans
    Replies: 0
    Last Post: 02-28-2012, 06:59 AM
  2. dynamically populate the city combo box based on the values of state combo +ajax+jsp
    By sandy1000 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-29-2010, 10:00 AM
  3. creation of one combo box form another combo box
    By er.tyagigaurav in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-09-2008, 03:14 PM
  4. Floating point values in SWT Spinner
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 04:50 PM
  5. How to use SWT Spinner
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-07-2008, 04:49 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •