chapter 3 GUI Netbean graphic user .pptx

cawilyare9885 16 views 17 slides Jun 11, 2024
Slide 1
Slide 1 of 17
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17

About This Presentation

this chapter you will learn what is netbeans java programing langugae


Slide Content

Java Programming Language Chapter3 Introduction to GUI ( Netbeans )

What is Java JFrams This Chapter we shall learn Java GUI by using netbeans . JFrame class is a type of container which inherits the java , JFrame works like the main window where components like labels, buttons, textfields are added to create a GUI. 5/17/2024 edited and donate awil mohamud

Design View 5/17/2024 ENG. Awil Mohamud

Pallete Pallete contains all components which can use while making a GUI application. The Pallete provides components like Jbuttons , jTextField , jLabel etc. 5/17/2024

Proprieties Editor 5/17/2024

Source View 5/17/2024

How to create project? Choose File New Project. Java Java Application( change name of your project in to Amoud ) Click Next. Click Finish. Creating a JFrame Container Right click on your project name called Amoud Chick new Chick JFrame 5/17/2024 ENG. Awil Mohamud

How to add Components to Design Area Active Jframs that has been create and then go Pallete and drag and drop any control you need. 5/17/2024 ENG. Awil Mohamud

How to Add Panel into Design Area Panel is used distinguish any sections of our GUI, we need to add a border, color and title to each Panel. 1. To add panel go to the Palette , select the Panel component from the Swing container category by Dragging and releasing on design area. 2. To change the color go properties and click background 5/17/2024 ENG. Awil Mohamud

How to Create Jlable ? The object of JLabel class is a component for placing text in a container. It is used to display a single line of read only text. To add Jlabel go to palette and then drag and release designe To make text of it, go properties and write some thing. 5/17/2024 ENG. Awil Mohamud

How to Create Jtext Field? The object of a JTextField class is a text component that allows the editing of a single line text. It inherits JTextComponent class. To add JText go to palette and then drag and release design area. . 5/17/2024 ENG. Awil Mohamud

How to Create Jbuttons ? The JButton class is used to create a labeled button that has platform independent implementation. The application result in some action when the button is pushed. To add JButton go to palette and then drag and release design area. Go properties to change text and fonts. 5/17/2024 ENG. Awil Mohamud

How to Create JCheckBox ? The JCheckBox class is used to create a checkbox. It is used to turn an option on (true) or off (false). To add JCheckBox go to palette and then drag and release design area. Go properties to change text and fonts 5/17/2024 ENG. Awil Mohamud

How to Create JRadioButton ? The JRadioButton class is used to create a radio button. It is used to choose one option from multiple options. To add JRadioButton go to palette and then drag and release design area. Go properties to change text and fornts . 5/17/2024 ENG. Awil Mohamud

How to Create JComboBox ? JComboBox : the object of Choice class is used to show popup menu of choices.. 5/17/2024 ENG. Awil Mohamud

How to Create JList ? the object of JList class represents a list of text items. The list of text items can be set up so that the user can choose either one item or multiple items. 5/17/2024 ENG. Awil Mohamud

End Thank you! 5/17/2024 ENG. Awil Mohamud