... Chương Lập trình giao diện (Graphic User Interface) Nguyễn Đức Hiển – Bài giảng Lập trình Java Nội dung Giới thiệu AWT Swing Xây ... cục) Graphic drawing capabilitie (vẻ đồ họa) Font (phông chử) Event (sự kiện) Nguyễn Đức Hiển – Bài giảng Lập trình Java GUI Class Hierarchy (AWT) AWTEvent Font FontMetrics Object Color Graphics ... thiết kế GUI Khái niệm xây dựng GUI đơn giản Những thành phần (component) bố trí chứa (container) theo cách thức có tổ chức Những component đối tượng (như Button, Menu, Label, Textbox, Slider,...
Ngày tải lên: 22/12/2013, 18:15
... login() { String user, pass; user = txtUserName.getText().trim(); pass = txtPSW.getText().trim(); if (user. equals("")) { JOptionPane.showMessageDialog(this, "User name must be filled"); txtUserName.requestFocus(); ... must be filled"); txtPSW.requestFocus(); return; } if ( !user. equals("ABC")) { JOptionPane.showMessageDialog(this, "User not existed."); txtUserName.requestFocus(); return; } if (!pass.equals("123")) ... p2 = new JPanel( new FlowLayout(FlowLayout.RIGHT)); p1.add(new JLabel( "User Name :", SwingConstants.RIGHT)); p1.add(txtUserName = new JTextField(20)); p2.add( new JLabel("Password :", SwingConstants.RIGHT));...
Ngày tải lên: 13/05/2014, 10:48
Chapter 14: Designing the Graphical User Interface ppt
... the Graphical User Interface The next step is to work with the end users to answer the four questions listed on each use-case card When the cards have been completed and reviewed, they form the ... built in the past, end -user input is essential Although there are many ways of interacting with the end user, the three ways that offer the best return are ■ Observing the end user performing the ... Designing the Graphical User Interface temporary list in the same fashion that a normal list selection is made Once the selection is chosen, it is placed into the text area of the widget and the list...
Ngày tải lên: 05/07/2014, 02:20
Development of a graphic user interface based on OpenGL for a drop on demand micro bio fabrication system
... to manipulate the movement of the dispensing units The path of the nozzle is determined by the users with T-command user interface setting The dispensers are fixed on z-axis When the substrate ... of the industrial and research interest in IJP are in the DOD methods 14 CHAPTER OVERVIEW OF THE DOD GUI DEVELOPMENT 3.1 Introduction to Graphic User Interface In computing, a graphical user interface ... animate the users’ interactions with the desktop A group of the 3D GUIs is another branch in the 3D desktop environment, which takes the desktop metaphor a step further such as Bump Top, and a user...
Ngày tải lên: 04/10/2015, 15:46
Tài liệu User Interface Design: Bridging the Gap from User Requirements to Design doc
... both the obstacles users face in their current work tasks and the facilitators that are present to assist them to accomplish their goals The information gathered from users is then merged with the ... the GUI until they have designed and tested the task objects that the GUI must represent Then they not invest in designing the details of the GUI windows until they have usability tested whether ... within the rectangle, the other participants serving as the computer by adding and removing paper windows as dictated by the user s actions As the task flows on the wall are executed in this way, the...
Ngày tải lên: 16/01/2014, 16:33
Windows Forms and the User Interface pdf
... Form_Load event, change the Region property Create a new instance of the GraphicsPath class (in System.Drawing.Drawing2D namespace) Create the new Region from it A GraphicsPath represents ... non-rectangular form GraphicsPath myPath = new GraphicsPath(); // Adds an ellipse to the graphics path that inscribes // the rectangle defined by the form's width and height myPath.AddEllipse(0, ... Chapter 1: Windows Forms and the User Interface Lesson 1: Adding and configuring Windows Forms Adding Forms to the project Properties of Windows Forms Creating non-rectangular...
Ngày tải lên: 15/03/2014, 02:20
DESIGNING THE USER INTERFACE docx
... of the September 11, 2001 terrorist attacks, some members of the U.s Congress blamed the inadequacies of user interfaces for the failure to detect the terrorists At an individual level, user interfaces ... gUidelines They have a thorough understanding of the diverse community of users and the tasks that must be accomplished Moreover, they are deeply committed to serving the users, which strengthens their ... of the catalog to allow users anywhere in the world to access the catalog and other databases These changing user communities and requirements each led to interface revisions, even though the...
Ngày tải lên: 17/03/2014, 22:20
The Essential Guide to User Interface Design ppt
... Contents About the Author Preface v xix Acknowledgments xxvii Part The User Interface An Introduction and Overview Chapter The Importance of the User Interface Defining the User Interface The Importance ... was the first edition of this book, The Essential Guide to User Interface Design The impetus for these newer editions of The Essential Guide to User Interface Design has been the impact of the ... to the humancomputer interface Chapter examines what an interface is, its importance, and its history Chapter reviews the two dominant user interfaces, the graphical user interface (GUI) and the...
Ngày tải lên: 17/03/2014, 22:20
Báo cáo khoa học: "THE REPRESENTATION OF MULTIMODAL USER INTERFACE DIALOGUES USING DISCOURSE PEGS" ppt
... properties of the KB object, and/or others that add to or override properties encoded in the KB There are two occasions where the interpreter is unable to map the discourse model to the KB, The first ... explored The UI can be viewed as a single autonomous agent or as merely the clearing house for communication between the user and a collection of agents, the operating system, the graphical interface, ... detectable by the dialogue system are not intended by either agent as communicative and should not be included in the discourse representation, e.g., the user moving the mouse cursor across the screen,...
Ngày tải lên: 31/03/2014, 06:20
jquery ui 1.7 the user interface library
... examples we'll look at The themes folder contains two different themes the first is the base theme that is a neutral, minimal theme of grey tones The second is the smoothness theme, which we chose ... folder the base theme and whichever theme was selected when the library was downloaded The base theme is a grey, neutral theme identical to smoothness Within each of these theme folders are all the ... the complete framework and the selected theme From the two directives found in this file, we can see the separation between the part of the framework that makes the widgets function and the theme...
Ngày tải lên: 28/04/2014, 15:43
Chapter 3 Error Handling for the User Interface
... error messages and alerts to the user so that the user can fix the problem – Use the Focus() method of the control to transfer the focus back to the field – Set the Cancel property of CancelEventArgs ... When the user moves the mouse pointer over the icon, an error message pops up as a ToolTip The ErrorProvider Component Using the ErrorProvider Component and Other Validation Techniques The Validating ... property of CancelEventArgs to true This cancels the Validating event, leaving the focus in the control The CausesValidation Property • The default value of the CausesValidation property for a control...
Ngày tải lên: 13/05/2014, 11:39
jQuery UI 1.6 The User Interface Library for jQuery potx
... and then change the colors of the various parts of the image The original flora image can be found in the i folder, inside the themes folder, of the unpacked library Don't forget to link to the ... obtain a copy of the library How to set up a development environment The structure of the library Theme Roller The format of the API Browser Support How the library is licensed Introducing jQuery ... your widgets or plugins [ 14 ] Chapter Widget theming The library ships with two themes The default theme is light-grey and neutral looking The flora theme consists of pleasant light-green and orange...
Ngày tải lên: 27/06/2014, 12:20
Báo cáo y học: "The missing graphical user interface for genomics" pdf
... analyzer to catch such errors by enabling them to narrate the logical process of the pipeline, potentially with the same rigor as a mathematical proof Users can then publish Galaxy Pages as supplementary ... requires users to consider their options carefully This is the most practical approach for Galaxy as well, but creates its own usability problems, especially the additional burden placed on the user ... cutting-edge software for novel analyses, and the graphical interface does not offer the same flexibility as a scripting environment or R/Bioconductor However, the other benefits of Galaxy, especially...
Ngày tải lên: 09/08/2014, 20:22
jQuery UI 1.6 The User Interface Library for jQuery phần 2 ppt
... tab; the method expects the index number of the tab and the new URL destroy Completely remove the tabs widget length Return the number of tabs in the widget rotate Automatically changes the active ... arguments which are the index of the tab whose URL we want to change followed by the new URL We then call the load method, which is chained to the url method, specifying the index of the tab whose ... run the new file in your browser and select the AJAX tab Then use the to choose the second file and watch as the content of the tab is changed as seen here: You'll also see that the...
Ngày tải lên: 12/08/2014, 19:21
jQuery UI 1.6 The User Interface Library for jQuery phần 3 pdf
... the flora theme used in the first example Like some of the other widgets we have looked at, certain aspects of the default or flora themes are required to make the widget function correctly Therefore, ... positioned at the bottom of the dialog Therefore, we need to increase the height of the widget so that the does not obscure the text We can also style the itself by using the following ... navAccordion.html To see the full effects of the navigation property, the other pages that the main page links to should be available Don't worry about creating these yourself, they are all in the code download...
Ngày tải lên: 12/08/2014, 19:21
jQuery UI 1.6 The User Interface Library for jQuery phần 4 pptx
... Skinning the date picker The date picker comes with two themes The first is the flora theme, which is shown in the screenshot at the start of this chapter, and the default theme, which is shown in the ... Each time the state of the slider changes, the appropriate message will be written to the message box The following screenshot shows a message: You'll only see either the slide message or the change ... Retrieve the current value of the thumb Disable the functionality of the slider Enable the functionality of the slider Return the underlying mark-up to its original state [ 127 ] Slider The first...
Ngày tải lên: 12/08/2014, 19:21
jQuery UI 1.6 The User Interface Library for jQuery phần 5 pdf
... object for the date picker The properties of the object are simply the callback function to make the dates specified in the JSON object unselectable, and the minDate property will be set to the relative ... selects the first item in the suggestion list when the Tab or return key is hit width width of the Sets the width of the suggestion menu url Sets the maximum number of suggestions in the ... button The buttonImage property allows us to specify the relative path of the image to use, and the buttonImageOnly property ensures that only the image is shown, not the image on top of the ...
Ngày tải lên: 12/08/2014, 19:21
jQuery UI 1.6 The User Interface Library for jQuery phần 6 pdf
... Chapter The result, is the data (the word returned as a result), and the row corresponds to the number of the result What is meant by this is that the first result will have a row number of 1, the ... actually see them on the page, but the effects that they add to different elements, and how they cause them to behave, can easily be seen These are low-level components as opposed to the high-level ... configures the time that the mouse button must be held down with the cursor over the draggable object before the drag will begin The grid property, which is similar in usage to the steps property of the...
Ngày tải lên: 12/08/2014, 19:21
Bạn có muốn tìm thêm với từ khóa: