Solved

SUN APPLET OR NOT

Posted on 2000-03-07
3
261 Views
Last Modified: 2013-11-21
On the front page of www.java.sun.com there is a vertical scrolling applet of sorts, displaying clickable regions. I would like to have aa applet which does much the same but reads in html from a database and display the page inside the applet with all the hyperlinks in place.  I believe I can only do this using xml parsing?  Please help on where to find information on this.
0
Comment
Question by:tjmarjoram
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Expert Comment

by:meming
ID: 2593894
If you mean the "Get local!" applet on the left of the page, I can guarantee you that it doesn't use any XML.  It simply take input from parameters of the applet and display them.  The url provided is the base of the actual url of an item in the list.
0
 

Author Comment

by:tjmarjoram
ID: 2595098
Edited text of question.
0
 
LVL 2

Accepted Solution

by:
meming earned 80 total points
ID: 2596696
Here is a free applet that will do what you want:
http://javaboutique.internet.com/NewsScroller/

What you need to do is to pull the text items and their URLs from your database and generated the input file for the applet in the following format:


                  # Lines starting with a pound sign (#) are comments and ignored.
                  # Blank lines are likewise ignored.

                  # Paramters:
                  #       @HEAD   Requred. Must be the first line of a news item.
                  #               May be more than one line. Terminated by a @URL,
                  #               @MSG, or @END tags.
                  #       @URL    Optional. A URL that will be associated with the
                  #               news item. If the item is clicked on by a mouse,
                  #               the URL will be loaded. Must be all on one line.
                  #       @FRAME  Optional, but URL must be defined. If the item is
                  #               clicked on by a mouse and the URL is defined, this will
                  #               over-ride the TARGET parameter, allowing different frames
                  #               to be targeted by different news items.
                  #       @MSG    Requied. The message text. May be multiple lines.
                  #               Terminated by a @END tag.
                  #       @END    Required. Signals the end of the news item.

                  # Unicode has not been tried within any of these, but I imagine
                  #       it'd work.

                  @HEADThis is a headline.
                  @MSGAnd this is the message text.
                  @END

                  # Linked text
                  @HEADThis is linked
                  @URLhttp://www.io.com/~crackers/index.html
                  @MSGThis is an example of linked text. It reloads the first page.
                  @END

                  # Frame target
                  @HEADFrames!
                  @URLHome.html
                  @FRAMEfrmMain
                  @MSGThis item uses the FRAME parameter. It'll reload the first page in this frame.
                  @END

                  # Real news
                  @HEADActual News!
                  @MSGNote for previous users: the HrefScroller class is gone. It's
                  URL linking and mouse detection methods have been rolled into the
                  Scroller class.
                  @END

                  # Java Boutique
                  @HEADJava Boutique
                  @URLhttp://javaboutique.internet.com/
                  @MSGThis is one of my favorite places to look for applets and
                  Java news. They were also kind enough to judge this thing was
                  good enough to win a contest!
                  @END

                  # Long headline
                  @HEADThis is an incredibly long headline. It's doubtful that
                  you would want to do this, but the capability is there.
                  @MSGOkay?
                  @END

                  # The End
                  @HEADThe End
                  @MSGThis is the last message. As soon as it's scrolled off,
                  everything starts over again.
                  @END


The following ones will cost you:
http://www.liquidcool.com/java/catalog.asp?id=122
http://www.vivaorange.com/oimessenger/Ex1/index.html
http://javaboutique.internet.com/RiadaHeadline/

Applet collections:
http://javaboutique.internet.com/applets/
http://www.davecentral.com/javanews.html
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Email not working after mx record created 8 89
Java syntax, or is it Selenium 6 62
What browser will run Java? 7 180
Watching Inbound/Outbound Traffic on Server 4 25
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question