windows builder an eclipse plugin for creating windows graphical user interfaces copyright © 2014...

17
Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Upload: dayna-mckinney

Post on 03-Jan-2016

229 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Windows Builder

An Eclipse Plugin for Creating Windows Graphical User

Interfaces

Copyright © 2014 Curt Hill

Page 2: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Copyright © 2014 Curt Hill

Introduction• Our previous programs have had

limited interaction with the user:– Select a file using FileChooser which

generates a common dialog box– Input using Scanner and

System.out.print(ln)

• The latter is a console approach– That faded in popularity in the 1980s

• Now we are going to install Window Builder– This will allow use to easily build GUIs

Page 3: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

What is a Plugin?• A plugin extends a piece of software

with new capabilities• Not every piece of software allows

plugins– Eclipse does

• There are plugins for many things, two I have used:– Windows Builder for windows

programming– Android development

• Now we install

Copyright © 2014 Curt Hill

Page 4: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Installation• We will open a particular website

– The Window Builder URL is:– http://www.eclipse.org/

windowbuilder/download.php

• Next we will open Eclipse to install new software

• We go through some dialog boxes and this will finish the installation

• Here are some screen shots

Copyright © 2014 Curt Hill

Page 5: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Original

Copyright © 2014 Curt Hill

Page 6: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Further Down in that Page

Copyright © 2014 Curt Hill

Page 7: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Choosing• Select the Release link of the

version of Eclipse used• In 2015 it was usually Luna, but

could be others• The result should look similar to

this

Copyright © 2014 Curt Hill

Page 8: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

The Download page

Copyright © 2014 Curt Hill

Page 9: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Next• Start up Eclipse while leaving the

web browser up– This will also tell the version

• Then go to the menu: Help/Install Software

• Picture:

Copyright © 2014 Curt Hill

Page 10: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Help/Install New Software

Copyright © 2014 Curt Hill

Page 11: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Dialog

Copyright © 2014 Curt Hill

Page 12: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Copy• Copy or drag the URL to the Work

With box• This should then produce

Copyright © 2014 Curt Hill

Page 13: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

After Copy or Drag

Copyright © 2014 Curt Hill

Page 14: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Select All

Copyright © 2014 Curt Hill

Page 15: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Install Details

Copyright © 2014 Curt Hill

Page 16: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Now What?• Window builder should be installed

as an Eclipse plugin• Now we have to use it to build a

GUI• That will await a further

presentation

Copyright © 2014 Curt Hill

Page 17: Windows Builder An Eclipse Plugin for Creating Windows Graphical User Interfaces Copyright © 2014 Curt Hill

Finally• Do these things to install Windows

Builder• We will see how to use it later

Copyright © 2014 Curt Hill