Preview

online auction

Satisfactory Essays
Open Document
Open Document
347 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
online auction
PRACTICAL: 1
Aim : Write a program to implement Calculator using java applet.
Tools : NetBeans IDE 7.0.1,JDK
Theory:- Pluggable look and feel is a mechanism used in the Java Swing widget toolkit allowing to change the look and feel of the graphical user interface at runtime.
Swing allows an application to specialize the look and feel of widgets by modifying the default (via runtime parameters), deriving from an existing one, by creating one from scratch.
The javax.swing.plaf package consists of abstract classes derived from ComponentUI, and the classes in the javax.swing.plaf.basic package extend these abstract classes to implement the Basic look-and-feel. This is the set of UI delegates that all other look-and-feel classes are expected to use as a base for building off of. The Basic look-and-feel cannot be used on its own because BasicLookAndFeel is an abstract class. There are three pluggable look-and-feel implementations derived from the Basic look-and-feel:
Windows: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
CDE\Motif: com.sun.java.swing.plaf.motif.MotifLookAndFeel
Metal (default): javax.swing.plaf.metal.MetalLookAndFeel
Each look-and-feel package contains a class derived from the abstract class javax.swing.LookAndFeel: BasicLookAndFeel, MetalLookAndFeel, WindowsLookAndFeel, etc. These are the central points of access to each look-and-feel package. You use them when changing the current look-and-feel, and the UIManager class (which is used to manage installed look-and-feels) uses them to access the current look-and-feel's UIDefaults table (which contains, among other things, UI delegate class names for each Swing component's corresponding look-and-feel).
SwingUtilities.updateComponentTreeUI() informs all children of the specified component that the look-and-feel has changed and that they need to discard their UI delegate in exchange for a different one of the specified type.

Program : package cal1;

import java.awt.*;
import

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Other major changes include CSS Selectors which CSS2 had simple selectors and the new version calls the components as a sequence of simple selectors. Pseudo elements because many Pseudo elements have been added that allow in-depth yet easy styling. Also a new convention of double colons ‘::’ has been introduced. Style properties let multiple background images be layered in the box using different elements like background image position and repeat. Border style is the styling of borders that extended to images and rounded designs which includes creating image of the borders and then automatically apply image to the borders through CSS.…

    • 272 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Midijam System Overview

    • 617 Words
    • 3 Pages

    The MidiJam System design has been informed by following fields of study. Controllerism Controllerism is a new and rapidly growing art form that practices the use of software controllers for music creation. Vjing VJing is a broad designation for realtime visual performance. Human-Computer Interaction(HCI) Human-computer interaction is a field of design, evaluation and implementation of interactive computing systems for human use. Tangible User Interfaces(TUI) A branch of HCI that gives physical form to digital information[1].…

    • 617 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    IT210 R5 Appendix D 2

    • 197 Words
    • 2 Pages

    K. Program interface that allows the user to make choices with a mouse, icons, and dialog boxes…

    • 197 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 1 Term Paper

    • 1401 Words
    • 6 Pages

    View: This is the user facing component of the system. This is probably going to a webpage or an application native to the platform it is running on. Either case, it would require usage of some markup language (such as HTML) and some styling components (such as CSS). As for the ‘actionable’ items in this part of the component (such a clicking a button or choosing an option or submitting a form etc.) we would need some JavaScript or a similar scripting language with equivalent capabilities. Because there are…

    • 1401 Words
    • 6 Pages
    Good Essays
  • Better Essays

    Input Controls

    • 1029 Words
    • 5 Pages

    Shelly, G. B., & Rosenblatt, H. J. (2012). User Interface Design. In G. B. Shelly, H. J. Rosenblatt, M. Staudt, & M. Stranz (Eds.), Systems Analysis and Design (Vol. 9th, p. 371). Mason, Ohio: Cengag Learning.…

    • 1029 Words
    • 5 Pages
    Better Essays
  • Good Essays

    Dreamweaver

    • 1154 Words
    • 4 Pages

    Lets you view and change a variety of properties for the selected object or text. Each object has different properties.…

    • 1154 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    how to stop...

    • 2246 Words
    • 11 Pages

    On the Design tab of the ribbon, check out the Themes, Colors, and Fonts galleries to get a custom look with just a click.…

    • 2246 Words
    • 11 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Java is an object oriented language. This means like unlike other languages such as FOTRAN, Object oriented languages organize the data and the commands come later. In this case java organizes data by use of classes and objects. (Cadenhead & Lemay, 2007) In other words java programs conceptualize a group of objects that work together. Therefore the use of classes in java comes about as it is the template used to create an object.…

    • 266 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Java Applet Checkpoint

    • 263 Words
    • 2 Pages

    A Java applet is a small program designed to run on a web page or in a Java virtual machine. The small size of the applet allows it to be executed in most browsers quickly. Applets can be used for various jobs from displaying images to custom navigation menus and even in-browser applications like calculators.…

    • 263 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

          Karsten builds elegant Swing apps works with Objects since 1990 helps others with UI and architectures provides libraries that complement Swing provides examples for Swing architectures writes about Java desktop issues…

    • 2893 Words
    • 12 Pages
    Powerful Essays
  • Satisfactory Essays

    s.executeUpdate("UPDATE studentdetails SET stname= '"+jTextField2.getText()+"' , stage= '"+jTextField3.getText()+"', sttel= '"+jTextField4.getText()+"', stresult= '"+jTextField4.getText()+"' WHERE stid = '"+jTextField1.getText()+"' ");…

    • 2413 Words
    • 17 Pages
    Satisfactory Essays
  • Good Essays

    Java Basic Swings

    • 1707 Words
    • 7 Pages

    Java, JSF 2, PrimeFaces, HTML5, JSP, Ajax, jQuery, Spring, Hibernate, RESTful Web Services, Hadoop, Android.…

    • 1707 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Main Computer Components

    • 386 Words
    • 2 Pages

    Graphic user interface (GUI): Examples: Microsoft Windows, apple system 7 and Mac OS X, GNOME, and KDE…

    • 386 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    A programming language developed by Sun Microsystems used for cross-platform Web-based applications. Its primary contribution to the Web has been in the form of Java Server Pages (JSP), J2EE and it is also used in ‘applets’ - mini-programs written in Java that run in browsers.…

    • 2817 Words
    • 12 Pages
    Powerful Essays
  • Powerful Essays

    Timetable Generation

    • 1545 Words
    • 7 Pages

    Swing is a widget toolkit for Java. It is part of Sun Microsystems' Java Foundation…

    • 1545 Words
    • 7 Pages
    Powerful Essays