Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2937 > unrolled thread
| Started by | "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:42 +0000 |
| Last post | 2011-04-27 15:42 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.gui
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | "Brandon McCombs" <brandon.mccombs@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Subject | Re: graphical calendar vi |
| Message-ID | <477697d2$0$4374$4c368faf@roadrunner.com> |
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
[toc] | [next] | [standalone]
| From | "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Message-ID | <4776cdf0$0$27841$b9f67a60@news.newsdemon.com> |
| In reply to | #2937 |
To: comp.lang.java.gui
Brandon McCombs wrote:
> 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
>
It wasn't exactly clear what you were trying to make so to simplify it,
create a day component that has the clickable features and then put them
together in a month component. There are a million ways to attack this
depending on what exactly you want it to do.
--
Knute Johnson
email s/nospam/knute/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDem
---
* 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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web