#### What Will We Learn From This Tutorials?
in this tutorials, we learn full basic concept of java swing knowledge. Java swing is one kind of window application based system to create it.. It works on AWT and API where written of java. So java swing is also part a JFC (java foundation class). Finally, java swing is one kind of platform where independent and light weight components.
• We will learn from this tutorial of full basic knowledge of java swing concept.
• Also know java swing API components. Such as Java JToolBar, Java JViewport, Java JFrame, Java JComponent, Java JLayeredPane, Java JDesktopPane, Java JEditorPane, Java JScrollPane, Java JSplitPane and many more API components.
#### Requirements of this tutorials?
There are some requirements in this tutorials. such as-
• Basic knowledge of programming language means object oriented programming means java.
• Also need to know about AWT package.
#### Difficulty
In this tutorials it's no difficulty. Its totally easy tutorial.
• basic
#### Tutorial Contents of full package of java swing.
Java swing is a platform where is independent and also light weight components. It follows MVC pattern and also support pluggable look and it's also powerful components. So in this tutorials we discuss full package API components and also basic knowledge of Java swing.
### Java JToolBar- Java JToolBar is a component in a group that usually buttons icon ina a row and column. This component used for display commonly which action or contro used,
So,here we can see the following example-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517056557/dfkuzzzrcwbf48yyhcp7.png
After running this program then we can see the following output-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517056601/mdw9ekctzwen3ruqcqn5.png
### Java JViewport- Java JViewport is a class component which used for implement scrolling. It designed for both pixel based and logical based scrolling.
Here, we see the following program example-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517056929/efmf2bqi2o8hoh9nr6ig.png
After running this program then we see the following output-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517056965/k7grq9i90jryp3j4nr9w.png
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517056970/bbtmkvq8lhapbffcgnid.png
### Java JFrame- Java JFrame ia container types of class which inherits java.awt.Frame class. It works infront mean main window where other components can added to create a new GUI.
So, here we can see the following example-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517057831/c14prl37ga5ostjgf55q.png
After running this program then we can see the following output-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517057868/mnotbnq5uc1054tztgmf.png
### Java JComponent- Java JComponent is a base class where all the swing component except top level. That the component name begin with J are descendants in the class.
So, here we can see the following example-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517058825/jl1waqztfgprjnedj9da.png
After running this program then we can see the following output-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517058859/zg5d3kdtmzu3irgxylbu.png
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517058868/akqisyebkyi7inhh7zkt.png
### Java JLayeredPane- Java JLayeredPane is a class which used to add depth in swing container.
So, here we can see the following example-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517062546/qjvtpujt4bkacrpl5pla.png
After running this program then we can see the output-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517062576/vgqxgxn4nc3dqoqlbwik.png
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517062580/em127tcucxi2vzi5wo2a.png
### Java JDesktopPane- java JDesktopPane is a class which used to create multi document applications. This application have many windows included.
So, here we can see the following example-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517063256/jlpurpc4tdged3fonjeg.png
After running this program then we can see the following output-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517063297/tucgmjbpoqtq3kn3n7ah.png
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517063309/ps7sknl4x1xifhj15srp.png
### Java JEditorPane- Java JEditorPane is a class which used to create a simple text for editor window.
So, here we can see the following example-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517063662/z3zx9uepshyagbqv5xqx.png
After running this program then we can see the following output-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517063694/we2dcinm8glmvefqtqmv.png
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517063706/xtmj1snvjfjcdw3owswh.png
### Java JScrollPane- Java JScrollPane is used to make a view scrollbar for the components. It means when screen size is small then we use scroll pane to display a large component.
So, here we can see the following example-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517064575/jqcrjyirtepbkygeb3nt.png
After running this program then we can see the following output-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517064609/yzvtmahnvbnnzx2bad4n.png
### Java JSplitPane- Java JSplitPane is mainly used for divide two components. Thise two components can divide there based on the look and also implementation, also resized by the user.
So, here we can see the following example-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517065190/jbq8jbrbqrz8pirkkhze.png
After running this program then we can see the following output-
https://res.cloudinary.com/hpiynhbhq/image/upload/v1517065226/npkvao6syckq8ljvvktj.png
#### Curriculum
- [API Concepts of Java Swing](https://utopian.io/utopian-io/@safat/api-concepts-of-java-swing)
<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@safat/api-concepts-part-2">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>