Results 1 to 3 of 3
  1. #1
    Sarek is offline Member
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0

    Default Applet with news articles

    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 have in content: 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.

    The problem is I don't know where to start. I have some basic knowledge of Java like for example I understand code of applet and I know basic commands and loops.

    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.

    Thank you in advance!

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    title, author name, date and text.
    You can show the title, name and date in JLabels and the article text in a JTextArea in a JScrollPane. This is a good place to start: creating and laying out these components.
    News articles have to be built in applet.
    You can store these articles as strings.
    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
    You'll need to form an idea/imagine about how you want to let the user access/enter information for these. Set up your gui controls for them.
    Then you can set up the necessary event listeners and then create the logic for the search and presentation of data.

  3. #3
    Sarek is offline Member
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    0

    Default

    Thanks for advice, I will try to make this applet and post here my progress.

Similar Threads

  1. Basic Applet
    By jkswebsite in forum Java Applets
    Replies: 4
    Last Post: 01-13-2008, 10:14 PM
  2. applet lifecycle
    By babua_87 in forum Java Applets
    Replies: 1
    Last Post: 12-04-2007, 11:42 PM
  3. First Applet HELP????
    By nvidia in forum New To Java
    Replies: 0
    Last Post: 08-13-2007, 11:11 PM
  4. Applet
    By kapoorje in forum Java Applets
    Replies: 0
    Last Post: 07-24-2007, 05:06 PM
  5. Replies: 4
    Last Post: 06-08-2007, 07:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •