0% found this document useful (0 votes)
133 views14 pages

Encrypt SignedFinal

This document contains the aims and objectives of several Java Swing programs involving user interfaces, data entry forms, login forms, calculators, ordering systems, and database connectivity. The programs cover basic and intermediate Swing components like JLabels, JTextFields, JButtons, JTables, JTrees and more advanced topics like JScrollPanes, JTabbedPanes, JDesktopPanes, result set metadata, and prepared statements for interacting with databases. The document outlines 15 separate programs of increasing complexity focused on learning and demonstrating Swing programming skills.

Uploaded by

chaudhary safiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
133 views14 pages

Encrypt SignedFinal

This document contains the aims and objectives of several Java Swing programs involving user interfaces, data entry forms, login forms, calculators, ordering systems, and database connectivity. The programs cover basic and intermediate Swing components like JLabels, JTextFields, JButtons, JTables, JTrees and more advanced topics like JScrollPanes, JTabbedPanes, JDesktopPanes, result set metadata, and prepared statements for interacting with databases. The document outlines 15 separate programs of increasing complexity focused on learning and demonstrating Swing programming skills.

Uploaded by

chaudhary safiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

PROGRAM NAME :Basic Swing Controls DATE:

PROGRAM ID: 1.A SIGN:

__________________________________________________________________

AIM: Write A Program to accept a no from user and display the factorial of that no
in a text field.

CODE:

OUTPUT:
1.B

AIM: Write A Program to create a login form.

1.C

AIM:- Write a swing program to create a form for


entering data. Use various Components such as
JLabel, JTextfield, JScrollPane, JRadioButon,
JCheckBox, JComboBox, JTextArea, JButton,
JTable.
1.D
AIM: Write A Program to Create An Application For Pizza Hut Where User Places
Order For A Pizza.
2A
Program name: Using JScrollPane,JTabbed Pane,
JDesktopPane.

AIM: Create A Class Which Extends Jframe And Has


Objects Of Three Classes Whoes Names Are Colors,
Cities And Flavor. All The Three Classes (Colors:
Name Of Colors Inside It, Cities: Name Of Cities
Inside It, Flavors: Name Of Flavours Inside It)
Extends JinternalFrame And Has The Method Which
Makes The Panel Visible. The Main Has An Object Of
Jdesktoppane And this Object Holds He Three
Panels Which Are Displayed On The Click Of The
Menu Bar Item.
2B
Using JScrollPane, JTabbedPane, JDesktopPane
Aim: Write a program to create three tabbed panes.
First tabbed pane contains a button and text field. On
click of the button the text field is either enabled or
disabled. Second tabbed pane contains a text field
and two radio buttons as first and second. On
selecting the radio button the label is displayed in
the text field. Third tabbed pane contains a combo
box, text field and a button. On click of the button
the text from the text field is added to the combo
box.
3
AIM: create an application that will select a text file and
display the content of the file in j text area, also add a
button on the click of which a colored dialog box will
show the color selected by the user will be applied to the
program.
Program id: 4A

Program name: using jtree and jtable

AIM: create a jtable to display the record of the employee. The titles of columns
should be employee no, employee name, designation and salary.
4B
Using JTree andJTable.

AIM: design a Jtree showing the name of the book as a root node,chapternemw
will be the child nodes of the booknode.each chapter node wllhave topic names
as child nodes.when you click on any node the path of thet node should be
displayed in jTextField.

Program id: 5A

Program name: creating table in database (jdbc connectivity)

AIM: Code: write a jdbc program to display details from student table where the
table is created using Microsoft access, execute the code using NetBeans ide.
Program id: 5B
Program name: Create table and displaying it.

Aim:Write a jdbc program that will create an employee table.The employee table
will have eno,ename,salary,location as its feeds.

Program id: 7 A

Program name: using result set metadata.

AIM: write a program to accept a sql query in a text box and on the click of the
execute button the result should be displayed in any control.
Program id: 7B Date: 11-aug-15

Program name: using result set metadata. Sign: ________

Roll no: 13 Remark:_______


_____________________________________________________________

AIM: create a j frame which will add data of a person (name, DOB , address, tel.
no) to the data base and on the click of show all button display the records from
the data base in a scrollable j text area.
Program id: 8A Date: 11-aug-15

Program name: using prepare statement. Sign: ________

Roll no: 13 Remark:_______


_____________________________________________________________

AIM: write a jdbc program that accepts acc.no, company name, transaction type,
quantity, transaction date from user and insert all this record in a table(acc.no,
company name, transaction type, quantity, current date).
Program Id.: 8B Date: 01/09/2015
Program Name: Using PreparedStatement
Sign:__________
Roll No.: 11
Remark:_________
___________________________________________________________________
_________
AIM: Design an application using jframe to accept username and password from
user with two buttons, insert and update to perform respective actions.

You might also like