5 Replies - 1327 Views - Last Post: 11 July 2014 - 04:23 PM Rate Topic: -----

#1 thinkerbof   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 11-July 14

Adding popup to this calader program?

Posted 11 July 2014 - 04:19 AM

I was trying this sample java calender program.
http://www.dreaminco...er-application/
How can I make popup window, which shows the date value when I click a date?
Is This A Good Question/Topic? 0
  • +

Replies To: Adding popup to this calader program?

#2 NormR   User is offline

  • D.I.C Lover
  • member icon

Reputation: 797
  • View blog
  • Posts: 6,062
  • Joined: 25-December 13

Re: Adding popup to this calader program?

Posted 11 July 2014 - 05:56 AM

Use a listener that calls a JOPtionPane method.
Was This Post Helpful? 0
  • +
  • -

#3 thinkerbof   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 11-July 14

Re: Adding popup to this calader program?

Posted 11 July 2014 - 06:13 AM

View PostNormR, on 11 July 2014 - 05:56 AM, said:

Use a listener that calls a JOPtionPane method.


Could please show me code sample? I'm a noob in Java and it would be very helpful for me if you also give me some links to learn it.

[quote name='thinkerbof' date='11 July 2014 - 06:11 AM' timestamp='1405084262' post='2030193']
[quote name='NormR' date='11 July 2014 - 05:56 AM' timestamp='1405083376' post='2030188']
Use a listener that calls a JOPtionPane method.


Could please show me a code sample? I'm a noob in Java and it would be very helpful for me if you also give me some links to learn this concept.
Was This Post Helpful? 0
  • +
  • -

#4 NormR   User is offline

  • D.I.C Lover
  • member icon

Reputation: 797
  • View blog
  • Posts: 6,062
  • Joined: 25-December 13

Re: Adding popup to this calader program?

Posted 11 July 2014 - 06:24 AM

Take a look at the tutorial. There are lots of examples there:
http://docs.oracle.c...ents/index.html
Was This Post Helpful? 0
  • +
  • -

#5 thinkerbof   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 11-July 14

Re: Adding popup to this calader program?

Posted 11 July 2014 - 04:21 PM

thaks. BTW can you show a demo code for it so that i can understand myself
Was This Post Helpful? 0
  • +
  • -

#6 NormR   User is offline

  • D.I.C Lover
  • member icon

Reputation: 797
  • View blog
  • Posts: 6,062
  • Joined: 25-December 13

Re: Adding popup to this calader program?

Posted 11 July 2014 - 04:23 PM

There are several demo codes in the tutorial. Find one, try it and if you have problems, post it here with a description of the problem.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1