Win a copy of Svelte and Sapper in Action this week in the JavaScript 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Applet with news letters?

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!
Posts: 43016
  • 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.
    Weeds: because mother nature refuses to be your personal bitch. But this tiny ad is willing:
    the value of filler advertising in 2020
      Bookmark Topic Watch Topic
    • New Topic