Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-19-2007, 03:32 PM
Member
 
Join Date: Nov 2007
Posts: 2
Sarek is on a distinguished road
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!
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-19-2007, 05:41 PM
Senior Member
 
Join Date: Jul 2007
Posts: 1,022
hardwired is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 11-20-2007, 12:33 PM
Member
 
Join Date: Nov 2007
Posts: 2
Sarek is on a distinguished road
Thanks for advice, I will try to make this applet and post here my progress.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Applet jkswebsite Java Applets 4 01-13-2008 10:14 PM
applet lifecycle babua_87 Java Applets 1 12-04-2007 11:42 PM
First Applet HELP???? nvidia New To Java 0 08-13-2007 11:11 PM
Applet kapoorje Java Applets 0 07-24-2007 05:06 PM
Applet, To center text and To open I engage in a dialog in an Applet Marcus Java Applets 4 06-08-2007 07:15 AM


All times are GMT +3. The time now is 01:13 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org