aspose file tools*
The moose likes Applets and the fly likes Applet with news letters? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet with news letters?" Watch "Applet with news letters?" New topic
Author

Applet with news letters?

Ante Susnjar
Greenhorn

Joined: Nov 19, 2007
Posts: 1
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
Marshal

Joined: Mar 22, 2005
Posts: 42648
    
  65
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.


    Ping & DNS - my free Android networking tools app
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
     
    subject: Applet with news letters?