0% found this document useful (0 votes)
45 views19 pages

Introduction To Java GUI

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
45 views19 pages

Introduction To Java GUI

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 19
5 ROWELL L. MARQUINA, Instructor, Java Programming Javais a programming languag developed by a team in headed by in 1991. It was originally designed as the program for a a cable box. It is an information appliance device that generally contains a TV-tuner input and displays output to a television se The original name for Java is Oak which was named after the type of tree that can be seen through the window of their office. After knowing that the name Oak is already registered for Oak Technologies, they have decided to switch to Java inspired by Java coffee which is heavily consumed by the team during the program development. WHY JAVA IS A VERY POPULAR? = Itis platform independent. It means that it can run on almost any computer. = Itis simple and easy to learn. = It is object-oriented. It means that it uses elements that can be initiated and manipulated as objects. = It is secured. It means that it enables users to develop virus-free, tamper-free systems. S. —— Java’ WHY JAVA IS A VERY POPULAR? = It is portable. It means that it can be transferred easily from one machine to another. It is dynamic. It is designed to adapt to an evolving environment. It is multithreaded. It means you can perform multiple programs in one instance. WHY JAVA IS A VERY POPULAR? It is robust. Java makes an effort to eliminate error-prone situations by emphasizing mainly on compile time error checking and runtime checking. It can be used to develop Console Applications and Graphical User Interface Applications. ‘Teacher's copy Enter tive integers : 3 56 89 602 2 Highest interger is 602 Lowest integer is 1 BUILD SUCCESSFUL (total tine: 1 minuto 50 seconds) Start Time 1284740424581 Stop Time 1284740435579 ElapsedTime(sec)10.998 STRUCTURE OF A GRAPHICAL USER INTERFACE APPLICATION FRAME It is also referred to as form. It is a window where the user interface can be created. raul) BE) NTR It refers to the graphical elements that are placed on frame for user interaction such as text boxes, labels, scroll bars, buttons, etc. PROPERTIES It refers to the characteristic or attribute of a frame or control. Example properties include names, captions, size, color, position, and contents. 3 [JFrame] - Properties: (Java.lang.String) title (Properties) Events Code |=iProperties Stee eae title Celsius Converter @lz |=lOther Properties ‘alwaysOnTop a GF alwaysOnTopSupported =f") ‘background 1D (240,240,240) @ bounds @ arse (betaskcuioc =I) enabled @ ‘extendedState 0 @ focusCycleRoot wie title eS VT eaiee 355 i Are procedures that are used to perform actions or execute a task to display results. 3 Steps in Building a Java GUI application: nC Tae 2. Create the user interface by placing CON eR URL e 3. Write code to control event methods PN) NT) Think of an application or program that you want to develop and design its graphical user interface. The GUI can include (but not limited to) graphic elements such as text boxes, buttons, combo boxes. Provide a short explanation about the purpose or function of your chosen program.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy