Copyright © 2015 – Curt Hill Window Builder Again Some more features.

Slides:



Advertisements
Similar presentations
17 HTML, Scripting, and Interactivity Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and.
Advertisements

Introduction to Java 2 Programming
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
XP New Perspectives on Creating Web Pages With Excel Tutorial 1 1 Creating Web Pages With Excel Tutorial 1.
Word Lesson 8 Increasing Efficiency Using Word
Copyright 2007, Information Builders. Slide 1 Implementing On-Click Functionality With the HTML Layout Painter Larry J Braun Education Specialist June,
CIS101 Introduction to Computing Week 12. Agenda Your questions Solutions to practice text Final HTML/JavaScript Project Copy and paste assignment JavaScript:
Chapter 6 Graphical User Interface (GUI) and Object-Oriented Design (OOD)
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 7 Event-Driven.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
28-Jun-15 Applets. 2 An applet is a program that is typically embedded in a Web page and can be run from a browser You need special HTML in the Web page.
Label production Solution with Label Gallery programs Label Gallery is used for general label design and print GalleryData is used to create small database.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Lesson 10: Adding Flash, Video, and Sound Content Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver.
Web Design Dreamweaver Semester 2 ATBs. ATB #1 What is a web site?
Dreamweaver – Setting up a Site and Page Layouts Web Design Section 7-2 Part or all of this lesson was adapted from the University of Washington’s “Web.
BIM211 – Visual Programming Database Operations II 1.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
Introduction to Graphical User Interfaces. Objectives * Students should understand what a procedural program is. * Students should understand what an.
JLabel, JTextField, JButton and JOptionPane
BİL528 – Bilgisayar Programlama II Database Operations II 1.
Dreamweaver – Dreamweaver Extras Web Design Section 8-4 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Using the Netbeans GUI Builder. The Netbeans IDE provides a utility called the GUI Builder that assists you with creating Windows applications. The Netbeans.
Java Programming: From Problem Analysis to Program Design, Second Edition1  Learn about basic GUI components.  Explore how the GUI components JFrame,
JAPPLET.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Fourth R Inc.1 WELCOME TO MICROSOFT OFFICE FRONTPAGE 2003 INTRODUCTORY COURSE.
Salt Suite User Guide (Copyright Salt ).
Copyright © Curt Hill Turtles The beginning of media computation.
Copyright © Curt Hill First Window Builder Program Easy GUIs in Eclipse.
GUIs in Java Swing, Events CS2110, SW Development Methods Readings: MSD, Chapter 12 Lab Exercise.
Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill.
MSc Workshop - © S. Kamin, U. ReddyLect 3 - GUI -1 Lecture 3 - Graphical User Interfaces r GUI toolkits in Java API r JFrame r GUI components.
Copyright © Curt Hill First Windows Program GUIs in Eclipse.
1 Data Manipulation (with SQL) HRP223 – 2010 October 13, 2010 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
XP Tutorial 8 Adding Interactivity with ActionScript.
Introduction to HTML YLLSS - S3. HTML HyperText Markup Language It uses tags( 標籤 ) to markup a web page A tag is like a label, it is used to present its.
Copyright © Curt Hill More Components Varying the input of Dev-C++ Windows Programs.
Creating Applets. What is an applet? What is an applet? A Java program that runs in a web browser. A Java program that runs in a web browser. An applet.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
Copyright © Curt Hill Tortoise SVN A Subversion Client.
Page Designer Storyboard J. A. Fitzpatrick December 2004.
Copyright © Curt Hill Applets A different type of program.
Copyright © Texas Education Agency, All rights reserved.1 Web Technologies Motion Graphics & Animation.
Fourth R Inc. 1 WELCOME TO MICROSOFT OFFICE ACCESS 2003 INTERMEDIATE COURSE.
Lecture Set 7 Procedures and Event Handlers Part B - The Structure of an Application Event Handlers.
Copyright © – Curt Hill Building Windows Applications in wxDev-C++
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
JavaScript Events Java 4 Understanding Events Events add interactivity between the web page and the user You can think of an event as a trigger that.
Developing GUIs With the Eclipse Visual Editor, Swing/AWT Edition David Gallardo.
1 Data Manipulation (with SQL) HRP223 – 2009 October 12, 2009 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
CSC 121 Computers and Scientific Thinking Fall Event-Driven Programming.
JavaScript 101 Lesson 6: Introduction to Functions.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
Dreamweaver – Setting up a Site and Page Layouts Web Design Section 7-2 Part or all of this lesson was adapted from the University of Washington’s “Web.
Web Programming Java Script-Introduction. What is Javascript? JavaScript is a scripting language using for the Web. JavaScript is a programming language.
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
An Eclipse Plugin for Creating Windows Graphical User Interfaces
Java GUI.
Section 17.1 Section 17.2 Add an audio file using HTML
Using Procedures and Exception Handling
Predefined Dialog Boxes
Zhen Jiang West Chester University
The Threading Demo What is here Copyright © 2017 Curt Hill.
Chapter 7 Event-Driven Pages
First Window Builder Program
Data Manipulation (with SQL)
An Eclipse Plugin for Creating Windows Graphical User Interfaces
Presentation transcript:

Copyright © 2015 – Curt Hill Window Builder Again Some more features

Introduction A few more features of Windows Builder plugin Changing variables Copyright © 2015 – Curt Hill

Variables Windows Builder is like a large number of other GUI builders It generates poor names for things –These are only the component names If the component is not referenced in code, we do not care –Labels and buttons are often not referenced in code Fortunately we may do something about it Copyright © 2015 – Curt Hill

Variable Names It is always possible to have Eclipse do a replace all –This might confuse Windows Builder but a reparse is possible The better way is to use the property inspector to change the name The field is Variable Copyright © 2015 – Curt Hill

Variable Field Copyright © 2015 – Curt Hill

JTextField size The contents of a JTextField does not affect its size like a label or button Instead it has a columns property in the property inspector It also may be set with the setColumns method in the code Copyright © 2015 – Curt Hill

About Box The about button can be accomplished in a number of ways Here is one: –Create a JDialog that is a second file We add a new file to the project just like we did before Instead of a Windows Application (which is a JFrame we use a JDialog Then we have to fill in the JDialog and show it from the main window Copyright © 2015 – Curt Hill

Adding JDialog Copyright © 2015 – Curt Hill

About Box Again This is a little more complicated than I would like Here is the easier alternative On the web site there is a pre-made About dialog –It is HTML to facilitate copying Place this in your file –At the very end – after the last brace In the comment there is the mechanism for calling it Copyright © 2015 – Curt Hill

Web Page Copyright © 2015 – Curt Hill

Copy All of This Copyright © 2015 – Curt Hill

Finally The Event handler just copies in the call which is in comments: MyAbout a = new MyAbout(null, false, "The program purpose", "Your name", "year"); Then modifies it: MyAbout a = new MyAbout(null, false, “Convert years to seconds” “Curt Hill", “2015"); Copyright © 2015 – Curt Hill

Conclusion Of course, there is plenty more to know However, we will next do a demo concerning the line drawing and clean up All using Windows Builder Copyright © 2015 – Curt Hill