• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet with news letters?

Ante Susnjar
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone! I'm new here, I just need a little help.
I got this task that I have to do in Java, so this is my task:

Create applet with news articles that in content have: title, author name, date and text. News articles have to be built in applet. Print (on screen) of news articles have to be enabled by choosing title or author name, and search has to be enabled by a part of word in title, independent of large/small letters.

I have some basic knowledge of Java, I know how to make a simple applet, but here is the problem that I don't know where to start.

Maybe there is already some free applet that does this? If not can you just tell me how to begin solving this problem, I have make that applet as soon as possible.

Thanks in advance!
Ulf Dittmer
Posts: 42970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

I'll start by saying that I think an applet is not a very good way to implement this. I'd be more natural to make this a regular web application.

But anyway, let's break it down to make it easier for you to begin. You need to
  • retrieve the list of articles, the list of authors, and the articles themselves
  • store them in memory so that you can access them later, both for display and search
  • display article titles/authors so users can select them for display
  • display full articles
  • have a few UI controls for the search, and implement that

  • From this list, further questions arise, like: Where is the data stored and how can you get at it? What format does it have - is it easy to display and search? How do you want the GUI to look like?

    Thinking about these should help get you started. Feel free to come back here to ask more specific questions about how to implement any of the parts.
    Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
    the new thread boost feature: great for the advertiser and smooth for the coderanch user
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!