woww.. finally JAVA can creates slides when turnover jPanel like Power Point (look at the picture) this is a soft animation or we can disc...
woww.. finally JAVA can creates slides when turnover jPanel like Power Point (look at the picture) this is a soft animation or we can discribe with "Create Slide with Java like Power Point".
this is very easy how to do, we just add a jPanelSlider library (we add it to Palette)
and some code to slide jPanel to next other jPanels, in this case I create 3 panels , you can create it as you wish after you read this tutorial and you can create many Panels.
the main thing is like POWER POINT ...
do yo want to know?? lets follow me please here:
- You should download jPanelSlider
- Add jPanelSlider you downloaded to Palette in netbeanse, Click: Tool --> Palette --> Swing/AWT Components

Import Libraries to Palette - Press Category and rename it to "JSlider" then press Add From Jar and choose jPanelSlider and locate in JSlider folder you created then press Next and Finish

Add jPanelSlider to Palette - CReate JFrame Form

Create JFrame Form - Drag jPanelSlider from Palette menu and put in JFrame Form you created, adjust height, width, and location

jPanelSlider di Palette - Add some Buttons as you wish and drag some Panels (differentiate every panels with color, give label or other) on jPanelSlider1 in your Frame

jPanel Slider di JFrame Form - Right click on Button 1 --> Events --> Action --> actionPerform

Action Events - Add this code:

Kode Java untuk ganti jPanel di jSlider - Do the same to Button 2 and Button 3 according to jPanel you want to show
- Compile and finish, --> tutorial on youtube or download its project
![]() |
| Java Slider |

