• No results found

Gränssnitts- programmering, del I

N/A
N/A
Protected

Academic year: 2022

Share "Gränssnitts- programmering, del I"

Copied!
29
0
0

Loading.... (view fulltext now)

Full text

(1)

programmering, del I

(2)

File: devgui/ui/lang_sv.properties:

ui.welcome = “Välkommen till”

ui.course = “Gränssnitts- //

programmering, del I”

ResourceBundle rb =

ResourceBundle.getBundle(“devgui.ui.lang”);

String welcomeString = rb.getString(“ui.welcome”);

String courseString = rb.getString(“ui.course”);

(3)

Oops!

File: devgui/ui/lang_sv.properties:

ui.welcome = “Välkommen till”

ui.course = “Gränssnitts- //

programmering, del I”

ResourceBundle rb =

ResourceBundle.getBundle(“devgui.ui.lang”);

String welcomeString = rb.getString(“ui.welcome”);

String courseString = rb.getString(“ui.course”);

(4)

Internationalization!

File: devgui/ui/lang.properties:

ui.welcome = “Welcome to”

ui.course = “User interface //

programming, part I”

ResourceBundle rb =

ResourceBundle.getBundle(“devgui.ui.lang”);

String welcomeString = rb.getString(“ui.welcome”);

String courseString = rb.getString(“ui.course”);

(5)

programming, part I

(6)

Today

  About the course

  Registration

  About examination

  Access to code (SVN)

  NetBeans as IDE

  A little about Java and our requirements

  Java questions?

(7)

Administration

  Teacher

•  Lars Oestreicher, room 1152

•  Simon Tschirner, room 1157

•  Mikael Laaksoharju, room 1157

  Wiki-pages:

•  http://www.it.uu.se/edu/course/homepage/devgui/vt11

•  News, changes, assignments, literature

  Student portal

•  http://www.studentportalen.uu.se/

•  Progress, assignment feedback as PDF, handouts

(8)

Course evaluation 2010

  The good…

•  Overall opinion about the course? (4.04)

•  The course framing (the way the course was planned and executed (3.78)

•  The course examination (4.37)

  The bad…

•  Want more lectures

•  Some people were not used to Java

•  Hard (or uneven) work

•  No experience in group meetings, seminars

(9)

Course evaluation 2010

  The good…

•  Overall opinion about the course? (4.04)

•  The course framing (the way the course was planned and executed (3.78)

•  The course examination (4.37)

  The bad…

•  Want more lectures

•  Some people were not used to Java

•  Hard (or uneven) work

•  No experience in group meetings, seminar

  The ugly…(???)

•  We will do our best to make a better course (always)

(10)

Changes

  Try to make assignments even in work load

  Clearer structure for group meetings

  Preparatory tutorials

  More support between meetings

(11)

Course aim

  The course is about implementation and construction – not graphic design!

•  The focus is on learning how to implement graphical user interfaces the ”right way”.

•  Problem-based learning

•  The course is 100% practically oriented; scientific theories provide the base, but we’ll learn it

through practical experience.

(12)

Goal of the course

  After completing this course you will…

•  Be able to implement a graphical user interface

•  Understand how GUI:s update “automagically” if correctly implemented

•  Know how to connect logic with presentation

•  Be able to make your own graphic components, if it should be necessary

(13)

Requirements…

  From you…

Lots of programming practice

Learning to program needs actual programming

(14)

Course setup

  Group work

•  Tools for group-based code development

•  Similar to industry style of work

  4 assignments

•  New assignments handed out every second week

•  Assignments turned in every second week

  Literature

(15)

Examination

  Practical experience (Learning by doing)

  No written exam. Grade based on:

•  The group’s overall result

•  Presentation/documentation of solutions

•  Individual diary

•  Individual activity and shown understanding during group sessions

•  Individual Interview

(16)

Grading

  Use existing components from an interface library to build an interactive user interface

  Be able to produce an interface that has support for several languages, by separating linguistic contents from program code

  Separate a GUI's behavior from its appearance (MVC)

  Produce responsive interface

  Structure program code in a way so that the different parts of the code are independent of one another

  To plan and create solutions where the visual presentation are independent of the underlying data structure

  Present individual and group results in discussions and seminars

(17)

Weekly group sessions

  45 min; probably 4 groups per meeting

  Mandatory: if you are prevented from

attending, report this to Lars or Simon before the meeting

•  You will get an extra assignment if not attending (writing a short paper about a specific topic)

  Be prepared!

•  Prepare any questions you might have

•  Bring code, screenshots

(18)

Previous assignment results

(19)
(20)
(21)
(22)
(23)

Java

  All programming will be performed in Java, with an editor and a compiler

•  Suggestion: NetBeans (or Eclipse)

  The user interface library - Java Swing

  To get experienced in Java, it’s important with individual studies and hands-on practice

  If you are less experienced in Java, an initial

effort will make everything a lot easier later

on – tutorials are listed!

(24)

Assignment Intro

  Individual task:

  Think…

•  through how you imagine this application

 you are encouraged to draw a sketch

•  about your requirements for such a tool

•  about how the functionality can be expressed in the interface

  Important: Prepare any questions you have on the

(25)

Assignment 1

  Overall project goal: a TODO-manager

•  Refined during the 4 assignments

  Deadline for assignment 1 is February 4.

•  Basic. Should not be too difficult.

•  Focus is on getting started with your team members and Java+SVN+IDE

•  Check the course homepage for further instructions

(26)

SVN

  Apache Subversion

  Handles different versions of your files and

makes sure that everything is available at one place.

  All of your code and other resources such as

icons must be checked into the group’s SVN.

(27)

Additional administration

  Registration

  Group

•  4 persons/group

  Start to work early (today?).

  We’ll try to get the SVN:s up and running as soon as possible.

•  In the mean time, start planning the application!

•  Assignment intro

(28)

Help

  Want more lectures on special topics?

Ask!

  Don’t hesitate to ask for help with compilation errors etc.

•  Bring code: on paper, in laptop, in CVS

(29)

TODO

1.  Think about the initial mini assignment!

Deadline: January 25

2.  Make sure your tools are working

•  SVN

•  Java

•  NetBeans, Eclipse

3.  After January 25:

Start working on assignment 1

References

Related documents

One of the perhaps more practical and well known studies of using the fundamental analysis as an investment strategy was performed by Piotroski (2000) who formed an

Practically no media research is published in African languages today, although especially in countries such as Tanzania, the media field has a strong local language – in

The results show that Bayes P e (minimum error probabil- ity) over the activation pattern in the forward model (PSLH- Comparison) is a better method for behavior recognition than

affect, becoming, Maurice Blanchot, displacement, dispossession, essay film, experimental video, geological time, liminal, Clarice Lispector, materialism, primordial

This thesis work, Judged by appearance -A material study, was preformed at Electrolux Floor Care & Small Appliances in Stockholm, Sweden and was a cross-functional project

In paper IV, we tested behaviour in the open field on our advanced intercross line, finding that low fear score was associated with lower fearfulness in females in the open

Depending on the presence of which foreign power ruled in the Albanian territories at which time, these borrowings have had as a primary source either Greek (Ancient, Middle or New),

Department of Culture and Communication Master’s Program in Language and Culture in