The Essential JViews Framework > Getting Started with JViews Framework > Step 1 - The Manager > Importing the Library and Packages

In the Sample1.java file, we first import the main ILOG JViews package as well as the ILOG JViews Swing package for the GUI components.

import ilog.views.*;
import ilog.views.swing.*;

Since we use AWT and Swing classes, we must import the swing and awt packages:

import javax.swing.*; 
import java.awt.*;

The following sections explain the code extracted from Sample1.java.