This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin Cookbook and have Ken Kousen on-line!
See this thread for details.
Win a copy of Kotlin Cookbook this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

I want to make a task scheduler/calendar/reminder for myself.

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,

I would like to make a task scheduler/calendar/reminder for myself.

For example, I would like to make a GUI where I can choose the times I want to complete something by.

Let's say I have to buy eggs by 2 days so I set that up in my GUI.

What I assume I'm going to do is just create a GUI first and then start coding the logic.

I'll do the logic first then the GUI.

However, I don't know how I would save my data.
For example, when I start up the app again (let's say one day later) I still want to see the reminders I posted a week ago and the times etc.
How would I go about this?
 
Saloon Keeper
Posts: 6619
62
Eclipse IDE Firefox Browser MySQL Database VI Editor Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Richard Gonzales wrote:What I assume I'm going to do is just create a GUI first and then start coding the logic.


No, that's exactly backwards. Make the business logic and wrap it in a console interface. This is the easiest way to debug the logic without the complexities of a GUI. Then when the logic is all debugged strip away the console UI and replace it with a GUI.
 
Richard Gonzales
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Carey Brown wrote:

Richard Gonzales wrote:What I assume I'm going to do is just create a GUI first and then start coding the logic.


No, that's exactly backwards. Make the business logic and wrap it in a console interface. This is the easiest way to debug the logic without the complexities of a GUI. Then when the logic is all debugged strip away the console UI and replace it with a GUI.



Thanks for the input!
I'll do that instead
 
Saloon Keeper
Posts: 21478
144
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Incidentally, there's a universal data standard format for calendar/scheduling. It's used by Android, Apple devices, Google Calendar, the Linux Evolution application (equivalent to Microsoft Outlook), and probably several Microsoft apps.

It's a fairly simple text file form, and for the Apple version at least, it's called "iCal". You should be able to find details on the Wikipedia.

So if, for example, you created a desktop GUI scheduler app and you wanted it to publish appointments via Google Calendar to your phone, you could just create an iCal text and upload it to your account on calendar.google.com.

It's really handy for those of us who have absolutely no proper concept of time, because everything is set up to synchronize with everything else.
 
Do not threaten THIS beaver! Not even with this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!