Laman

Tampilkan postingan dengan label Java. Tampilkan semua postingan
Tampilkan postingan dengan label Java. Tampilkan semua postingan

1 Des 2014

Apakah "Big Data"? (What Is "Big Data"?)

Data adalah "Kuantitas, karakter, atau simbol dengan pengolahan yang dilakukan oleh komputer, yang dapat disimpan dan ditransmisikan dalam bentuk sinyal listrik dan dicatat pada medan magnet, optik, atau mekanis media perekaman."

Jadi, "Big Data" adalah istilah yang digunakan untuk menggambarkan pengumpulan data yang sangat besar dalam ukuran namun tumbuh secara eksponensial dengan/berdasarkan waktu. Singkatnya, data tersebut sangat besar dan kompleks yang tidak ada alat manajemen data tradisional yang dapat menyimpan atau memproses secara efisien.

Kategori "Big Data" : 
  1. Structured (Terstruktur)
    Data yang dapat disimpan, diakses dan diproses dalam bentuk format tetap disebut sebagai data 'terstruktur'. Selama periode waktu tertentu, para pakar dalam ilmu komputer telah mendapatkan kesuksesan besar dalam mengembangkan teknik untuk bekerja dengan jenis data seperti ini (di mana format data dikenal lebih dahulu) dan juga menurunkan nilai dari data itu. Namun, sekarang, kita memiliki masalah ketika ukuran data tersebut tumbuh pada tingkat yang sangat besar, total ukuran data meningkat menjadi zettabyte.

    *
    1021 bytes sama dengan 1 zettabyte atau satu miliar terabytes.

3 Nov 2014

Cara Tepat Memilih Tool Selenium Berdasarkan Kebutuhan



Tool
Alasan
Selenium IDE
Hal-hal yang diperlukan untuk mempelajari tentang konsep-konsep pengujian otomatis dan Selenium, yaitu:
       -  Perintah Selenese seperti type, open, clickAndWait, assert, dll
       -  Pencari seperti id, nama, XPath, css selector, dll
       -  Running disesuaikan kode JavaScript menggunakan runScript
       -  Mengekspor uji kasus dalam berbagai format.
Hanya bisa simple-test dan tanpa perlu mengetahui dasar pemrograman.
Membuat uji kasus sederhana dan uji suite yang dapat di- ekspor kemudian ke RC atau WebDriver.
Menguji aplikasi web terhadap Firefox saja.

17 Sep 2014

Pengantar WebDriver & Perbandingan dengan Selenium RC

Apa itu WebDriver?
WebDriver adalah kerangka otomatisasi web yang memungkinkan Anda untuk melaksanakan tes Anda terhadap browser yang berbeda, bukan hanya Firefox (seperti Selenium IDE).


WebDriver juga memungkinkan Anda untuk menggunakan bahasa pemrograman dalam menciptakan skrip uji Anda (tidak mungkin di Selenium IDE). Anda sekarang dapat menggunakan operasi kondisional seperti kasus beralih if-then-lain atau anda juga dapat melakukan perulangan seperti do-while. Bahasa pemrograman yang didukung oleh WebDriver :

4 Des 2013

Tutorial Selenium [2 - Cara Instalasi Selenuim IDE & FireBug]

Instalasi Selenium IDE


  • Koneksi Internet
  1. Buka Firefox yang sudah diinstall, dan buka link ini  http://seleniumhq.org/download/ . Di bagian bawah Selenium IDE, klik pada link yang menunjukkan nomor versi saat ini.
  2. Untuk keamanan, notifikasi Firefox akan muncul. Klik "Allow."
  3. Tunggu sampai Firefox selesai men-download dan kemudian klik "Install Now."
  4. Tunggu sampai instalasi selesai. Pada jendela pop-up, klik "Restart Now."
  • Dengan menekan Ctrl+Alt+S
  • Dengan menekan Firefox menu button > Web Developer>  Selenium IDE

26 Nov 2013

Tutorial Selenium [1 - Pengantar]

Apakah Selenium?


Selenium adalah software (open source) pengujian otomatis  untuk aplikasi web di browser dan platform yang berbeda. Hal ini sangat mirip dengan HP Quick Test Pro (QTP), hanya saja Selenium berfokus pada mengotomatisasi aplikasi berbasis web.
Selenium tidak hanya alat tunggal tetapi rangkaian software, masing-masing melayani kebutuhan pengujian yang berbeda dari sebuah organisasi. Ia memiliki empat komponen, antara lain : 
  • Selenium Integrated Development Environment (IDE)
  • Selenium Remote Control (RC)
  • WebDriver
  • Selenium Grid

23 Feb 2013

Membuat Installer Untuk Project Desktop Application Menggunakan Advanced Installer

Membuat sebuah installer dari sebuah project software kadang menjadi keinginan bagi para programmer pemula. Ketika telah menyelesaikan pembuatan sebuah project perangkat lunak berbasis desktop, akan menemui permasalahan bagaimana menyajikan perangkat lunak ini kepada end user (pengguna) dengan mudah tanpa harus melakukan copy-paste ke directory.

Untuk dapat membuat suatu installer, salah satunya yaitu menggunakan software Advanced Installer. Advanced Installer adalah sebuah tools atau software yang digunakan untuk membuat installer untuk windows dengan format ekstensi .exe dan .msi. Aplikasi ini dapat digunakan untuk membuat aplikasi windws 32bit dan windows 64bit.

24 Mar 2011

Sertifikat Java ( SCEA )

SCEA Certification Benefits:

The SCEA certification "signifies that its holders can handle advanced design responsibilities and lead roles in creating applications. To succeed, SCEA candidates must demonstrate a deep understanding of appropriate uses of modern design architecture and current Java EE technologies for business applications." (Ed Tittel and Dr. Bill Brogden)

  • Demonstrate to your employer, peers & customers that you are proficient in Java Technologies Architecture and use industry-respected best practices.
  • Improve your knowledge and skills using the process of achieving the certification and hence deliver better results.
  • Enhance your salary, job opportunities and credibility through this respected credential.

SCEA Certification Target Audience:

This exam is for enterprise architects responsible for architecting and designing Java Platform, Enterprise Edition technology-compliant applications that are scalable, flexible, and highly secure. This exam is designed for candidates with experience in the following areas (typically 5 or more years: Application design: concepts and principles, common architectures, integration and messaging, business-tier technologies, web-tier technologies, Java EE technology, patterns and security.

SCEA Certification Exam Objectives:

  • Application Design Concepts and Principles
  • Common Architectures
  • Integration and Messaging
  • Business Tier Technologies
  • Web Tier Technologies
  • Applicability of Java EE Technology
  • Patterns
  • Security

SCEA Certification Exam Details:

  • Delivered at: Authorized Worldwide Prometric Testing Centers
  • Prerequisites: None
  • Other exams/assignments required for this certification: Step 2 (CX-310-301A), Step 3 (CX-310-062)
  • Exam type: Multiple choice, and drag-n-drop
  • Number of questions: 64
  • Pass score: 57% (37 out of 64 questions)
  • Time limit: 120 minutes

SCEA Certification Exam Preparation:

Preparing for the Sun Certified Enterprise Architect (SCEA 5) Certification Exam (CX 310-052 ) might be slightly tougher than the other exams as it demands solving real life architecture scenario's and not just hypothetical knowledge of JEE technology & Design Patterns. Also it has 3 parts and you need to pass all 3 to be Sun Certified Enterprise Architect (SCEA). From our experience of supporting SCEA candidates since 2000, we have created a very simple and yet incredibly reliable and efficient approach to Get Certified in 1st Attempt.

  • Familiarize yourself with Sun Certified Enterprise Architect (SCEA) Certification Exam process understanding the SCEA Exam registration, SCEA Exam Pattern, SCEA Exam Objectives, course material, process etc.
  • Get started with some good book like the Cade book, UML Distilled, the Sun Press SCEA book, J2EE Design Patterns, Head First Design Patterns, GOF Design Patterns, and then Java Modelling in Color to help you on part II of the exam.
  • Register to a good SCEA forum to post questions and discuss and share experience on certification exam preparation.
  • Practice, Practice, Practice solving real life architecture scenario's.
  • Most importantly Practice SCEA Mock Exams to get exposed to the variety of SCEA certification exam questions asked in the exam.

Sertifikat Java ( SCMAD )

J2ME SCMAD Mock Exam Details:

  • 5 Full Length Simulated Tests
  • 340 Unique Questions spread across 5 mock exams
  • Detailed Explanation with Every Question
  • Comprehensive Reports, to assess and gauge your progress over time and in each exam objective.
  • The mock Exams are valid for 1 year from the date of purchase
  • Each exam has up to 3 attempts
  • Runs Online and Offline (without internet)
  • 100% test pass guarantee if you do not pass the SUN certification exam after using Whizlabs SCMAD mock exams we give 100% refund.

Everyone prepares for the certification exam to their best ability yet the difference between the one who succeeds with a high score in the SCMAD/J2ME exam in first attempt and others is practicing lots and lots of mock exam questions and practice writing lots and lots CODE snippets.

J2ME Mock exams help you to judge yourself best and give you a reality check on your preparation. You are about to spend USD $ 300 (plus your time and effort) on the voucher of the exam, it may be a good idea to give it all you have in your preparation.

Whizlabs practice J2ME mock tests come with a 100% test pass guarantee, in rare circumstances, if you do not clear the certification exam even after using our product (exam preparation kit or online training), we will refund the full amount that you spent on the product.

So, lay aside your fears and anxieties and see what difference your hard work and Whizlabs sample mock tests can make to your certification success.

Benefits of Practicing for J2ME questions with mock tests

Most of all by practicing the real j2me exam questions you get confidence and a reality check on your preparation. You will know exactly the areas you need to prepare more and your strong areas. The software simulator trains you in the real exam environment thus saving time by:

  • Practicing time spent on choosing from the objective type answers
  • Reducing time spent in fluctuating between the screens
  • Cutting down time spent in being indecisive in choosing the correct answers.

The time and effort required for preparation depends on your experience (or rather lack of it!!) in programming, especially in Java Technology. If passing the SCMAD/J2ME exam is on your list of priorities for the year start with our diagnostic exam right away it is free for a week. This has been successful 99.7% of times with over 50,000 people since October 2000. God forbid! In case you do not pass the Certification Exam, you have nothing to lose with us we will refund back the entire amount you have spent with us without asking any questions. Period!

Sertifikat Java ( SCDJWS )

SCDJWS CX-310-220 Exam Details

Prerequisites - The first step towards SCDJWS is SCJP (Sun Certified Java Programmer) Certification, which is the prerequisite for this exam. You need to have a detailed and thorough understanding of issues involving the design, development, and implementation of various Java web components.

Objectives - Web Services technologies are widely adopted and are the best choice for Service Oriented Architecture (SOA). The technology areas covered in the SCDJWS certification exam include WS-I Basic Profile, XML, SOAP, WSDL, UDDI, J2EE, and Java Web Services. To perform well in the exam, you must have a thorough understanding of the specified Web Services technologies, Java APIs to deal with these technologies, design and architecture of web services, and how web services fit into the J2EE Platform.

  • XML Web Service Standards
  • SOAP 1.1 Web Service Standards
  • Describing and Publishing (WSDL and UDDI)
  • JAX-RPC
  • SOAP and XML Processing APIs (JAXP, JAXB, and SAAJ)
  • JAXR
  • J2EE Web Services
  • Security
  • Developing Web Services
  • General Design and Architecture
  • Endpoint Design and Architecture

Type of Questions

  • Multiple Choice (Single Response)
  • Multiple Choice (Multiple Response)
  • Drag N Drop

SCDJWS Certification Exam Details

Exam Number: CX-310-220
Prerequisites: SCJP (any edition)
Number of questions: 69
Passing score: 68%
Time limit: 150 min
Cost: USD 200
The number of correct choices for multiple-choice questions is given in the exam.

Sertifikat Java ( SCBCD )

SCBCD Certification Benefits:

Passing Sun Certified Business Component Developer (SCBCD) Certification Exam certifies that the candidate has achieved a standard level of proficiency in designing, developing, testing, deploying, and integrating Enterprise JavaBeans EJB Edition 3.0.

  • Demonstrate to your employer, peers & customers that you are an expert in designing, developing, testing, deploying, and integrating Enterprise JavaBeans EJB Edition 3.0.
  • Improve your knowledge & skills using the process of achieving the certification.
  • Enhance your salary, job opportunities and credibility through this respected credential.

SCBCD Certification Target Audience:

This certification is for Enterprise JavaBeans (EJB) technology business component developers who are responsible for designing, developing, testing, deploying and integrating EJB applications. To achieve certifications, candidates must successfully complete one exam. Prior to attempting certification, candidates must be certified as a Sun Certified Java Programmer for the Java 2 Platform (SCJP), any edition.

SCBCD Certification Exam Objectives:

  • EJB 3.0 Overview
  • General EJB 3.0 Enterprise Bean Knowledge
  • EJB 3.0 Session Bean Component Contract & Lifecycle
  • EJB 3.0 Message-Driven Bean Component Contract
  • Java Persistence API Entities
  • Java Persistence Entity Operations
  • Persistence Units and Persistence Contexts
  • Java Persistence Query Language
  • Transactions
  • Exceptions
  • Security Management

SCBCD Certification Exam Details:

SCBCD Certification Exam Preparation:

  • Familiarize yourself with Sun's exam process understanding the exam registration, course material, process etc.
  • Register to a good SCBCD forum to post questions and discuss and share experience on certification exam preparation.
  • Code Code Code, Study the lessons and learn to write the code.
  • Most importantly Practice SCBCD Mock Exams to get exposed to the variety of SCBCD certification exam questions asked in the exam.

Sertifikat Java ( SCWCD )

SCWCD Certification Benefits

Passing Sun Certified Web Component Developer (SCWCD) Certification Exam certifies that the candidate has achieved a standard level of proficiency with Java Servlet and JavaServer Pages (JSP) application program interface (API's).

  • Demonstrate to your employer, peers & customers that you are an expert in Java Technology Servlet and JavaServer Pages (JSP) and use industry-respected best practices.
  • Improve your knowledge & skills using the process of achieving the certification.
  • Enhance your salary, job opportunities and credibility through this respected credential.

SCWCD Certification Target Audience

This certification is for developers specializing in the application of JavaServer Pages and servlet technologies used to present Web services and dynamic Web content. To achieve this certification, candidates must successfully complete one exam. Prior to attempting certification, candidates must be certified as a Sun Certified Java Programmer (SCJP), any edition.

SCWCD Certification Exam Objectives

  • The Servlet Technology Model
  • The Structure and Deployment of Web Applications
  • The Web Container Model
  • Session Management
  • Web Application Security
  • The JavaServer Pages (JSP) Technology Model
  • Building JSP Pages Using the Expression Language (EL)
  • Building JSP Pages Using Standard Actions
  • Building JSP Pages Using Tag Libraries
  • Building a Custom Tag Library
  • Java EE Patterns

SCWCD Certification Exam Details

SCWCD Certification Exam Preparation

  • Familiarize yourself with Sun's exam process understanding the exam registration, course material, process etc.
  • Get started with a good book like Sun Certified Programmer for Java 5 Study Guide by Katherine Sierra and Bert Bates (K&B)
  • Register to a good SCWCD forum to post questions and discuss and share experience on certification exam preparation.
  • Code Code Code, Study the lessons and learn to write the code.
  • Most importantly Practice SCWCD Mock Exams to get exposed to the variety of SCJP certification exam questions asked in the exam.

Sertifikat Java ( SCJP )

SCJP 1.6 Certification Exam Benefits:

Achieving this certification provides clear evidence that a programmer understands the basic syntax and structure of the Java programming language and can create Java technology applications that run on server and desktop systems using Java SE 6.

  • Demonstrate to your employer, peers & customers that you are proficient in Java Technologies and use industry-respected best practices.
  • Improve your knowledge using the process of achieving the certification.
  • Enhance your salary, job opportunities and credibility through this respected credential.
  • To get officially accredited as a Java professional


SCJP 1.6 Certification: Who appear in this exam?

  • You are into writing Java applications and want to be recognized for your skills.
  • You want in-depth knowledge of various concepts of Java Programming Language.
  • You do not have too much of an idea about Java Programming Language, preparing for this certification will get you a foothold in Java Programming Language.
  • In case you are starting a new project for which you have to use Java SE 6, appearing SCJP 1.6 certification will definitely help you update your skills.

Sertifikat Java ( SCJA )

SCJA (Sun Certified Java Associate) Certification Exam Details:

  • Exam Taken at: Authorized Prometric Testing Centers
  • Prerequisites : None
  • Other exams/assignments required for this Certification : None
  • Exam type : Multiple choice and Drag & Drop
  • Number of questions : 51
  • Pass score : 68% (35 of 51 questions)
  • Time limit : 115 minutes

SCJA Exam Objectives:

Section 1: Fundamental Object-Oriented Concepts

Section 2: UML Representation of Object-Oriented Concepts

Section 3: Java Implementation of Object-Oriented Concepts

Section 4: Algorithm Design and Implementation

Section 5: Java Development Fundamentals

Section 6: Java Platforms and Integration Technologies

Section 7: Client Technologies

Section 8: Server Technologies

SCJA Certification Benefits

SCJA Certification indicates that you have knowledge required to perform at a specified level as an IT professional. SCJA Certification proves to your employer and clients that your expertise is confirmed by a recognized industry organization.

  • SCJA Certification demonstrates to your employer/boss, peers, customers,competitors, suppliers, staff and investors that you use industry-respected best practices and are skilled and posses expert knowledge in the specific domain.
  • The process of achieving and maintaining the SCJA Certification helps ensure that you are continually improving and refining your knowledge and skills.
  • Enhanced job opportunities enhanced salary and career advancement opportunities.
  • Recognized proof of professional achievement - Enhanced credibility and a respected credential.

Sertifikasi Java ( Java Certification )

Berikut adalah tingkatan / level untuk mendapatkan sertifikat java :



Klik link dibawah ini untuk keterangan lebih lanjut :

- SCJA

- SCJP

- SCWCD

- SCBCD

- SCDJWS

- SCMAD

- SCEA

Download Eclipse

18 Mar 2011

Pembuatan Laporan Aplikasi Dengan iReport

iReport merupakan open source untuk membuat/mendesain laporan/dokumen dari sebuah aplikasi. Sampai saat ini saya baru mencoba untuk sebuah aplikasi yang berbasis java.

Laporan/dokumentasi yang dibuat dengan iReport, dapat berupa grafik, gambar, subreports, crosstabs dan masih banyak lagi. iReport mengakses data yang anda miliki untuk pembuatan laporan/dokumentasinya. Data tersebut dapat berasal dari JDBC, TableModels, JavaBeans, XML, Hibernate, CSV, dan costum sources.

Untuk lebih jelasnya silahkan buka iReport
Pada halaman tersebut terdapat tutorial dan s/w downloadnya..

Lookandfeel JAVA Dan Swing JAVA

Lookandfeel merupakan sebuah library yang digunakan untuk merubah swing/user interface/skin pada sebuah aplikasi berbasis JAVA.

Anda dapat memasukkan library ini pada aplikasi yang akan anda buat, dan mengetik pemanggilan library na sesuai swing yang anda inginkan.

Untuk lebih lengkapnya silahkan buka Java Swing LookAndFeel

12 Feb 2011

Lowongan Kerja 10-02-2011

1. Java Programmer
2. PHP Programmer
3. Java Developer
4. Programmer

Just click on link...
^_^

Library Untuk Membuat Grafik Pada Netbeans

Agar dapat membuat grafik/chart pada netbeans (java), maka dibutuhkan beberapa library
Diantaranya yaitu :

1. JFreechart
2. JCommon

Library-library tersebut dimasukkan pada netbeans dengan cara :
Pada menu tab pilih Tools->Libraries..
Kemudian tekan tombol Add Jar/Folder
Masukkan library-library yang telah anda download
Kemudian Tekan "OK"

Selamat Mencoba :D

2 Grafik / Chart Dengan JFreeChart Pada Java

Hal yang pertama kali dilakukan yaitu membuat sebuah class yang berfungsi untuk membuat chart/grafik
Pada kali ini saya akan memberi nama class tersebut class DualAxisDemo1


package demo;

import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JPanel;
import org.jfree.chart.*;
import org.jfree.chart.axis.*;
import org.jfree.chart.block.*;
import org.jfree.chart.labels.StandardCategoryToolTipGenerator;
import org.jfree.chart.plot.*;
import org.jfree.chart.renderer.category.LineAndShapeRenderer;
import org.jfree.chart.title.CompositeTitle;
import org.jfree.chart.title.LegendTitle;
import org.jfree.data.category.CategoryDataset;
import org.jfree.data.category.DefaultCategoryDataset;
import org.jfree.ui.*;

public class DualAxisDemo1 extends ApplicationFrame
{

public DualAxisDemo1(String s)
{
super(s);
JFreeChart jfreechart = createChart();
ChartPanel chartpanel = new ChartPanel(jfreechart);
chartpanel.setPreferredSize(new Dimension(500, 270));
setContentPane(chartpanel);
}

private static CategoryDataset createDataset1()
{
String s = "S1";
String s1 = "S2";
String s2 = "S3";
String s3 = "Category 1";
String s4 = "Category 2";
String s5 = "Category 3";
String s6 = "Category 4";
String s7 = "Category 5";
String s8 = "Category 6";
String s9 = "Category 7";
String s10 = "Category 8";
DefaultCategoryDataset defaultcategorydataset = new DefaultCategoryDataset();
defaultcategorydataset.addValue(1, s, s3);
defaultcategorydataset.addValue(2, s, s4);
defaultcategorydataset.addValue(3, s, s5);
defaultcategorydataset.addValue(4, s, s6);
defaultcategorydataset.addValue(5D, s, s7);
defaultcategorydataset.addValue(7D, s, s8);
defaultcategorydataset.addValue(7D, s, s9);
defaultcategorydataset.addValue(8D, s, s10);
defaultcategorydataset.addValue(5D, s1, s3);
defaultcategorydataset.addValue(7D, s1, s4);
defaultcategorydataset.addValue(6D, s1, s5);
defaultcategorydataset.addValue(8D, s1, s6);
defaultcategorydataset.addValue(4D, s1, s7);
defaultcategorydataset.addValue(4D, s1, s8);
defaultcategorydataset.addValue(2D, s1, s9);
defaultcategorydataset.addValue(1.0D, s1, s10);
defaultcategorydataset.addValue(4D, s2, s3);
defaultcategorydataset.addValue(3D, s2, s4);
defaultcategorydataset.addValue(2D, s2, s5);
defaultcategorydataset.addValue(3D, s2, s6);
defaultcategorydataset.addValue(6D, s2, s7);
defaultcategorydataset.addValue(3D, s2, s8);
defaultcategorydataset.addValue(4D, s2, s9);
defaultcategorydataset.addValue(3D, s2, s10);
return defaultcategorydataset;
}

private static CategoryDataset createDataset2()
{
String s = "S4";
String s1 = "Category 1";
String s2 = "Category 2";
String s3 = "Category 3";
String s4 = "Category 4";
String s5 = "Category 5";
String s6 = "Category 6";
String s7 = "Category 7";
String s8 = "Category 8";
DefaultCategoryDataset defaultcategorydataset = new DefaultCategoryDataset();
defaultcategorydataset.addValue(15D, s, s1);
defaultcategorydataset.addValue(24D, s, s2);
defaultcategorydataset.addValue(31D, s, s3);
defaultcategorydataset.addValue(25D, s, s4);
defaultcategorydataset.addValue(56D, s, s5);
defaultcategorydataset.addValue(37D, s, s6);
defaultcategorydataset.addValue(77D, s, s7);
defaultcategorydataset.addValue(18D, s, s8);
return defaultcategorydataset;
}

private static JFreeChart createChart()
{
JFreeChart jfreechart = ChartFactory.createBarChart("Dual Axis Chart", "Category", "Value", createDataset1(), PlotOrientation.VERTICAL, false, true, false);
jfreechart.setBackgroundPaint(Color.white);
CategoryPlot categoryplot = (CategoryPlot)jfreechart.getPlot();
categoryplot.setBackgroundPaint(new Color(238, 238, 255));
categoryplot.setDomainAxisLocation(AxisLocation.BOTTOM_OR_RIGHT);
CategoryDataset categorydataset = createDataset2();
categoryplot.setDataset(1, categorydataset);
categoryplot.mapDatasetToRangeAxis(1, 1);
CategoryAxis categoryaxis = categoryplot.getDomainAxis();
categoryaxis.setCategoryLabelPositions(CategoryLabelPositions.DOWN_45);
NumberAxis numberaxis = new NumberAxis("Secondary");
categoryplot.setRangeAxis(1, numberaxis);
LineAndShapeRenderer lineandshaperenderer = new LineAndShapeRenderer();
lineandshaperenderer.setToolTipGenerator(new StandardCategoryToolTipGenerator());
categoryplot.setRenderer(1, lineandshaperenderer);
categoryplot.setDatasetRenderingOrder(DatasetRenderingOrder.FORWARD);
LegendTitle legendtitle = new LegendTitle(categoryplot.getRenderer(0));
legendtitle.setMargin(new RectangleInsets(2D, 2D, 2D, 2D));
legendtitle.setBorder(new BlockBorder());
LegendTitle legendtitle1 = new LegendTitle(categoryplot.getRenderer(1));
legendtitle1.setMargin(new RectangleInsets(2D, 2D, 2D, 2D));
legendtitle1.setBorder(new BlockBorder());
BlockContainer blockcontainer = new BlockContainer(new BorderArrangement());
blockcontainer.add(legendtitle, RectangleEdge.LEFT);
blockcontainer.add(legendtitle1, RectangleEdge.RIGHT);
blockcontainer.add(new EmptyBlock(2000D, 0.0D));
CompositeTitle compositetitle = new CompositeTitle(blockcontainer);
compositetitle.setPosition(RectangleEdge.BOTTOM);
jfreechart.addSubtitle(compositetitle);
return jfreechart;
}

public static JPanel createDemoPanel()
{
JFreeChart jfreechart = createChart();
return new ChartPanel(jfreechart);
}
}

Selanjutnya yaitu tinggal menjalankannya melalui class main

package demo;

import org.jfree.ui.RefineryUtilities;
public class Main {
public static void main(String args[])
{
DualAxisDemo1 dualaxisdemo1 = new DualAxisDemo1("Dual Axis Demo 1");
dualaxisdemo1.pack();
RefineryUtilities.centerFrameOnScreen(dualaxisdemo1);
dualaxisdemo1.setVisible(true);
}
}


Hasilnya akan seperti ini :


Selamat Mencoba :D