• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Applet with news letters?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
     
    reply
      Bookmark Topic Watch Topic
    • New Topic