JB_APP_KJV application, Modify Main_class.java
 
 
 
 
Return



 Main_class.java, design and source (codes) ...
 





  Design  and Structure
 

Design   Structure
 




  Classes or Libraries used ...

mport java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import com.borland.jbcl.layout.*;
import javax.swing.border.*;


 

Modify the Menu ...
 
 The menu created by the Wizard
 
Structure   Design
 
 
The menu after modification ...
 
Structure   Design
 
 



Components used
...
 

From Compenet  palette,  add the followig  components ...
   
   
 
  1. Modify JPanel   component  - contentPane, Proprietes
      Old New
    name:
    layout:
    contentPane
    BorderLayout
    contentPane
    BorderLayout

    This  component includes the following  components :     jPanel1,   jPanel2 jPanel3

     

    1. Add JPanel   component  - jPanel1  Proprietes
       
      name:
      layout:
      jPanel1
      FlowLayout

       

    2. Add JPanel   component  - jPanel2  Proprietes
       
      name:
      layout:
      jPanel2
      XYLayout

      This  component includes the following  component :    label1

       

      1. Add JLabel   component  - label1, Proprietes
         
        name:
        text:
         label1
        "
        Welcome to JB_App_KJV  learn how to write a..."

         

       

    3. Add JPanel   component  - jPanel3  Proprietes
       
      name:
      layout:
      jPanel3
      FlowLayout

      This  component includes the following  component :    imageLabel
       

      1. Add JLabel   component  - imageLabel, Proprietes
         
        name:
        Icon:
        imageLabel
        Image1

        Image1= "ingraphic1.gif"
         

 

 

 The source (codes)  corresponding ...

 

 

 


  Home
2.1
Return