Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2937

Re: graphical calendar vi

From "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this>
Subject Re: graphical calendar vi
Message-ID <477697d2$0$4374$4c368faf@roadrunner.com> (permalink)
Newsgroups comp.lang.java.gui
References <47759479$0$1535$b9f67a60@news.newsdemon.com>
Date 2011-04-27 15:42 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Knute Johnson wrote:
> Brandon McCombs wrote:
>> Hello,
>>
>> It seems that the standard Java library doesn't include a graphical 
>> calendar component so I was wondering if anyone happens to know of a 
>> free one, preferably one that is big enough that would allow text to 
>> be readable on the individual days (to list daily tasks, etc.)?
>>
>> If there isn't one, any ideas on how I'd go about creating my own 
>> based on the info from the existing java.util.Calendar object? I 
>> assume I would probably need to have a JTable created at the least. 
>> Any suggestions on doing that are appreciated.
>>
>> thanks
>> Brandon
> 
> I would create a Component that draws the month that you want to see. 
> You can draw your appointments or whatever the same way.  Your 
> application will need controls to select a month, add appointments or 
> whatever.
> 

Do you mean to do so using a Graphics2D canvas on the Component? That 
will obviously take some time to make sure all the lines match up 
correctly. I'd like to have any text on the days be clickable so that a 
JList also in the window can display the details of the item that is 
clicked. That response is doable (although very difficult I think) with 
text on a Graphics canvas however showing that the text was actually 
clicked would not occur to provide the user feedback similar to how a 
hyperlink being clicked provides user feedback. thanks Knute


Brandon

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: graphical calendar vi "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
  Re: graphical calendar vi "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000

csiph-web