Capstone 2004 Viewing HTML in Java Dashboard & Implicit Query Presenter: Krishnan Ram.

Slides:



Advertisements
Similar presentations
Chapter 7 JavaScript: Introduction to Scripting. Outline Simple Programs Objects and Variables Obtaining User Input with prompt Dialogs – –Dynamic Welcome.
Advertisements

Designing Websites Using HTML and FrontPage A Typical Webpage View Source A webpage is a text file containing instructions to tell a computer how the.
A guide to HTML. Slide 1 HTML: Hypertext Markup Language Pull down View, then Source, to see the HTML code. Slide 1.
Principles of Information Technology
MIS 425 Lecture 1 – HTML Basics and Web Page Design Instructor: Martin Neuhard
HTML Introduction (cont.) 10/01/ Lecture 8, MAT 279, Fall 2009.
JEditorPane Chapter 18 - Student. (c) 2005 by Elizabeth Sugar Boese JEditorPane creation Declare a JEditorPane component. JEditorPane pane; Check to see.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved L24 (Chapter 25) Networking.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
Chapter 131 Applets and HTML Chapter Reminders Project 8 due Dec 10:30 pm Project 6 regrades due by midnight tonight –Submit all files (including.
Unit 4.4 We are HTML Editors
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
Hyperlinks in HTML How to “throw an anchor”, or to create a hyperlink in raw HTML.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
THE BASICS OF THE WEB Davison Web Design. Introduction to the Web Main Ideas The Internet is a worldwide network of hardware. The World Wide Web is part.
Building a Web Browser CS1316: Representing Structure and Behavior.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
CPSC 203 Introduction to Computers Lab 39, 40 By Jie (Jeff) Gao.
Slide 1 Today you will: think about criteria for judging a website understand that an effective website will match the needs and interests of users use.
WEBSITE DESIGN COURSE SESSION 1. WORDPRESS WORDPRESS.COM ONLINE FREE SOFTWARE FREE HOSTING BUT WITH A TAG IN IT VERY SIMPLE TO MAKE WORDPRESS.ORG OFFLINE.
Website Design CLA – Transportation. Defining a Site Select: Site – New - Site Click Next.
DIY Web Development Hand Code Your Own Page (For Free!) by Bryan Brown, Indiana University Bloomington SLIS.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
Copyright © Allyn & Bacon 2008 POWER PRACTICE Chapter 7 The Internet and the World Wide Web START This multimedia product and its contents are protected.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Dreamweaver MX Unit A CIS 205—Web Site Design & Development.
1 Direct Manipulation Proposal 17 Direct Manipulation is when physical actions are used instead of commands. E.g. In a word document when the user inputs.
Web Designing By Bhupendra Ratha, Lecturer School of Library & Information Science D.A.V.V., Indore.
Agenda Links External and Internet Links Anchor Tag Text Hyperlinks Image Hyperlinks Images Image Attributes: src, alt, width, height, align, border.
1 Background and Text Links CGS3066 Rory J. De Simone.
Web site Development Utilizing Microsoft FrontPage Alexis M. Schilling.
Linking web pages Wah Yan College (Hong Kong) Mr. Li C.P.
Using Text Components JTextComponent JTextTextFieldJEditorPane JTextPaneJPasswordField JTextArea Text Controls Plain Text Areas Styled Text Areas.
Introduction to Applets CS 3505 Client Side Scripting with applets.
Web Design (2) Brackets - introduction. Brackets Brackets is a web design code editor It is an open-source project initiated by Adobe (creator of Dreamweaver)
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
Chapter 18 Networking F Client/Server Communications F Simple Client/Server Applications F Serve Multiple Clients F Create Applet Clients F Send and Retrieve.
Objective Understand concepts used to web-based digital media. Course Weight : 5%
Validating, Promoting, & Publishing Your Web Site Writing For the Web The Internet Writer’s Handbook 2/e.
Web software. Two types of web software Browser software – used to search for and view websites. Web development software – used to create webpages/websites.
HTML: Hyptertext Markup Language Doman’s Sections.
Windows and frames and the anchor tag. Frames Independent, scrollable portions of a Web browser window, with each frame capable of containing its own.
META tag META tag is the element in the HTML that interacts with the search engines. It’s contain 2 attributes that should always be used: NAME: is an.
CO1552 – Web Application Development Linking Pages - The Basis of the Web.
CIS Intro to JAVA Lecture Notes Set June-05 GUI Programming – Assignment 5 Notes.
Chapter 16: Networking F Client/Server Communications F Serving Multiple Clients F Applet Clients F Viewing HTML Pages F Retrieving Files from Web Servers.
Applets Yong Choi School of Business CSU, Bakersfield.
Windows and frames and the anchor tag. Frames Independent, scrollable portions of a Web browser window, with each frame capable of containing its own.
Web Design (8) Images (2). My Holiday Photos An exercise in adding and linking images. Create a new website folder calling it ‘My Holiday Photos’. In.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
Website design and structure. A Website is a collection of webpages that are linked together. Webpages contain text, graphics, sound and video clips.
Applets Java code is compiled into byte code instead of machine language –Languages like C, C++, Pascal and others are compiled into machine language so.
CIS Intro to JAVA Lecture Notes Set July-05 GUI Programming –TextField Action Listeners, JEditorPane action listeners, HTML in a JEditorPane,
The World Wide Web. What is the worldwide web? The content of the worldwide web is held on individual pages which are gathered together to form websites.
Website Design, Development and Maintenance ONLY TAKE DOWN NOTES ON INDICATED SLIDES.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Word 2003 Working Together 1 Word 2003 and Your.
Iframe.
16BIT IITR Data Collection Module A web crawler (also known as a web spider or web robot) is a program or automated script which browses the World Wide.
1 Web Search What are easy ways to create a website? 2 Web Search What is a blog? What type of content does this type of website provide? 3 Web.
Making the website. Get your folders sorted first Create a new folder in “N” called “My hockey website” Create folders inside called “Documents”, “images”
Uppingham Community College
Web software.
PHP / MySQL Introduction
A guide to HTML.
What is a Search Engine EIT, Author Gay Robertson, 2017.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Move the cursor to cell A1 of the ‘Input’ worksheet.
Presentation transcript:

Capstone 2004 Viewing HTML in Java Dashboard & Implicit Query Presenter: Krishnan Ram

Displaying HTML In Java Window First- Why is this important? Virtual Classroom Virtual Classroom Ability to surf to work-related hyperlinks while viewing a lecture Virtual NYC Virtual NYC Ability to link locations to websites Eg. Clicking on Pizza Hut can open the Pizza Hut website. Eg. Clicking on Pizza Hut can open the Pizza Hut website.

Java Java’s swing component is capable of displaying HTML pages. HTML pages are viewed using a JEditorPane This supports styled text.

JEditorPane Currently knows about 3 types of content text/plain-uses DefaultEditorKit text/plain-uses DefaultEditorKit Editor Kits are contain classes that write content to the JEditorPane. text/html-uses HTMLEditorKit text/html-uses HTMLEditorKit text/rtf-uses RTFEditorKit text/rtf-uses RTFEditorKit

HTMLEditorKit This kit contains classes for displaying various html objects. How it works? Load a HTML file into the JEditorPane object and the editor kit will dictate how the HTML objects are displayed in the window-very similar to a web browser. Load a HTML file into the JEditorPane object and the editor kit will dictate how the HTML objects are displayed in the window-very similar to a web browser. In fact, I found a very simple Java web browser that uses a JEditorPane for its display. In fact, I found a very simple Java web browser that uses a JEditorPane for its display.

Example of Code private JEditorPane createEditorPane() { JEditorPane editorPane = new JEditorPane(); editorPane.setEditable(false); java.net.URL helpURL = TextSamplerDemo.class.getResource( "google.html"); if (helpURL != null) { try { editorPane.setPage(helpURL); } catch (IOException e) { System.err.println("Attempted to read a bad URL: " + helpURL); } } else { System.err.println("Couldn't find file: TextSampleDemoHelp.html"); } return editorPane; }

References Using Text Components wing/components/text.html wing/components/text.html wing/components/text.html Java API Javaworld.com /jw-01-swing.html /jw-01-swing.html /jw-01-swing.html

Dashboard & Implicit Query Dashboard- Linux Implicit Query- Mircrosoft Both have same principles Both have same principles Instantaneous and continuous search of your workspace for relevant objects

Dashboard & Implicit Query Idea: Dashboard/Implicit Query continuously monitor you current workspace, all open windows such as chat windows & websites and searches for keywords or cluewords and will return any possible relevant information on those keywords to the Dashboard interface.

Example Nat Friedman-ximian.com