0% found this document useful (0 votes)
18 views

Pokemon

This document provides an overview of various Java topics including basics of OOPs concepts, strings, exceptions, multithreading, collections, JavaFX, JSP, Spring, and projects. It also includes sections on Swing components, layout managers, and example Swing applications like a notepad, calculator, and puzzle game. The document contains advertisements between content sections.

Uploaded by

xerabog631
Copyright
© © All Rights Reserved
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Pokemon

This document provides an overview of various Java topics including basics of OOPs concepts, strings, exceptions, multithreading, collections, JavaFX, JSP, Spring, and projects. It also includes sections on Swing components, layout managers, and example Swing applications like a notepad, calculator, and puzzle game. The document contains advertisements between content sections.

Uploaded by

xerabog631
Copyright
© © All Rights Reserved
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 10

Pokemon

gsrrrrrrrrrrrrrrrrrrr
vhtvd;
hj
d]
kmf
km
rkdm
dkm
p]sk
k
hsk[jnkhs [rim[ewtibity[biiy
eo
i
yd
i
bis
]reb

e]rsb9
rybs99y
]e9se
]

• Home
• Java
• Programs
• OOPs
• String
• Exception
• Multithreading
• Collections
• JavaFX
• JSP
• Spring
• Spring Boot
• Projects
• Interview Questions

Basics of Java OOPs Concepts Java String Java Regex Exception Handling Java Inner classes Java
Multithreading Java I/O Java Networking Java AWT & Events

Java Swing
Swing Introduction Java JButton Java JLabel Java JTextField Java JTextArea Java JPasswordField
Java JCheckBox Java JRadioButton Java JComboBox Java JTable Java JList Java JOptionPane
Java JScrollBar Java JMenuItem & JMenu Java JPopupMenu Java JCheckBoxMenuItem Java
JSeparator Java JProgressBar Java JTree Java JColorChooser Java JTabbedPane Java JSlider Java
JSpinner Java JDialog Java JPanel Java JFileChooser Java JToggleButton Java JToolBar Java
JViewport Java JFrame Java JComponent Java JLayeredPane Java JDesktopPane Java JEditorPane
Java JScrollPane Java JSplitPane Java JTextPane Java JRootPane Using ToolTip Change Title Icon
Executable Jar File Digital Watch Graphics in swing Displaying Image

Java Swing Apps


Notepad Calculator IP Finder Word Counter URL Source Generator Folder Explorer Puzzle Game
Pic Puzzle Game Tic Tac Toe Game Online Exam
LayoutManagers
BorderLayout GridLayout FlowLayout BoxLayout CardLayout GridBagLayout GroupLayout
SpringLayout ScrollPaneLayout
JavaFX Java Applet Java Reflection Java Date Java Conversion Java Collection Java JDBC Java
New Features RMI Internationalization Interview Questions

Object 1
ADVERTISEMENT

Object 2

next → ← prev

Puzzle Game in Java


Puzzle Game in Java with Source Code: We can develop Puzzle Game in java with the
help of AWT/Swing with event handling. Let's see the code of creating Puzzle Game in
java.

Puzzle Game using AWT

1. import java.awt.*;
2. import java.awt.event.*;
3. import javax.swing.JOptionPane;
4. public class Puzzle extends Frame implements ActionListener{
5. Button b1,b2,b3,b4,b5,b6,b7,b8,b9;
6. Puzzle(){
7. super("Puzzle - JavaTpoint");
8. b1=new Button("1");
9. b1.setBounds(50,100,40,40);
10. b2=new Button("2");
11. b2.setBounds(100,100,40,40);
12. b3=new Button("3");
13. b3.setBounds(150,100,40,40);
For Videos Join
Our Youtube Channel: Join Now
Feedback
• Send your Feedback to [email protected]

Help Others, Please Share

Learn Latest Tutorials


Splunk
SPSS
Swagger
Transact-SQL
Tumblr
ReactJS
Regex
Reinforcement Learning
R Programming
RxJS
React Native
Python Design Patterns
Python Pillow
Python Turtle
Keras

Preparation
Aptitude
Reasoning
Verbal Ability
Interview Questions
Company Questions

Trending Technologies
Artificial Intelligence
AWS
Selenium
Cloud Computing
Hadoop
ReactJS
Data Science
Angular 7
Blockchain
Git
Machine Learning
DevOps
ADVERTISEMENT

Object 5

B.Tech / MCA
DBMS
Data Structures
DAA
Operating System
Computer Network
Compiler Design
Computer Organization
Discrete Mathematics
Ethical Hacking
Computer Graphics
Software Engineering
Web Technology
Cyber Security
Automata
C Programming
C++
Java
.Net
Python
Programs
Control System
Data Mining
Data Warehouse

ADVERTISEMENT

Object 6

ADVERTISEMENT

Object 7

ADVERTISEMENT

Object 8

ADVERTISEMENT
Object 9

Object 10

ADVERTISEMENT
Object 11

ADVERTISEMENT

Object 12

ADVERTISEMENT

Object 13
Like/Subscribe us for latest updates or newsletter

Learn Tutorials
Learn JavaLearn Data StructuresLearn C ProgrammingLearn C++ TutorialLearn C# TutorialLearn
PHP TutorialLearn HTML TutorialLearn JavaScript TutorialLearn jQuery TutorialLearn Spring
Tutorial
Interview Questions
Java Interview QuestionsSQL Interview QuestionsPython Interview QuestionsJavaScript Interview
QuestionsAngular Interview QuestionsSelenium Interview QuestionsSpring Boot Interview
QuestionsHR Interview QuestionsC++ Interview QuestionsData Structure Interview Questions
About
Javatpoint is developed to help students on various technologies such as Artificial Intelligence,
Machine Learning, C, C++, Python, Java, PHP, HTML, CSS, JavaScript, jQuery, ReactJS, Node.js,
AngularJS, Bootstrap, XML, SQL, PL/SQL, MySQL etc.
Javatpoint provides tutorials with examples, code snippets, and practical insights, making it suitable
for both beginners and experienced developers.
There are also many interview questions which will help students to get placed in the companies.
Contact
Address: G-13, 2nd Floor, Sec-3
Noida, UP, 201301, India
Contact No: 0120-4256464, 9990449935
Contact Us Subscribe Us Privacy PolicySitemap
About Me
© Copyright 2011-2021 www.javatpoint.com. All rights reserved. Developed by JavaTpoint.

You might also like