Application developed with Visual J++, Part 7.

 

5h Step,  the Biography.java Form

 

  1. Create a Form ...
  2. The Biography.java, Form properties
    Items Old values (Biography.java) New values (Biography.java)
    borderStyle:
    menu:
    Sze:
    StartPosition:
    Text:
    Sizable
    none
    308, 327
    Windows default
    Biography
    Sizable Toolwindow
    none
    494, 160
    Center Screen
    Biography ...


  3. The Biography.java design
     Biography ...


  4. Add  the .bmp files...
    From the ...\VJ App\res folder copy the followihg files:
    1. The butterfly1.bmp file  to the folder C:\TestVJ\Pic .
    2. The butterfly2.bmp file  to the folder C:\TestVJ\Pic .


  5. Add the following controls, from the Toolbox :
    Two PictureBoxes, seven labels, one Timer and one Button
    1. Add the PictureBox control - PictureBox1,  Properties:
      A PictureBox control can display a graphic from a bitmap, icon, or metafile, as well as enhanced metafile, JPEG, or GIF files. It clips the graphic if the control isn't large enough to display the entire image.
      image:
      name:
      Location:
      Size:
      none
      PictureBox1
      8, 16
      72, 80


    2. Add the PictureBox control - PictureBox2,  Properties:
      A PictureBox control can display a graphic from a bitmap, icon, or metafile, as well as enhanced metafile, JPEG, or GIF files. It clips the graphic if the control isn't large enough to display the entire image.
      image:
      name:
      Location:
      Size:
      none
      PictureBox2
      8, 16
      72, 80

      Note
      :The PictureBox1
      displays the files butterfly1.bmp and butterfly2.bmp - (stored in the folder C:\TestVJ\ res).

    3. Add the Label control - Label3,  Properties:
      A Label object is a component for placing text in a container. A label displays a single line of read-only text. The text can be changed by the application, but a user cannot edit it directly.
      name:
      Font:
      text:
      textAlign:
      Label3
      Ms Sans Serief, Regular, size = 8
      Name : Churi Simon Zouein
      left


    4. Add the Label control - Label5,  Properties:
      A Label object is a component for placing text in a container. A label displays a single line of read-only text. The text can be changed by the application, but a user cannot edit it directly.
      name:
      Font:
      text:
      textAlign:
      Label5
      Ms Sans Serief, Regular, size = 8
      Address : Sed el Baouchrie, Ferdaous st., korlokian Bld, Beirut-Lebanon.
      left


    5. Add the Label control - Label4,  Properties:
      A Label object is a component for placing text in a container. A label displays a single line of read-only text. The text can be changed by the application, but a user cannot edit it directly.
      name:
      Font:
      text:
      textAlign:
      Label4
      Ms Sans Serief, Regular, size = 8
      Tel : 01- 691436
      left


    6. Add the Label control - Label6,  Properties:
      A Label object is a component for placing text in a container. A label displays a single line of read-only text. The text can be changed by the application, but a user cannot edit it directly.
      name:
      Font:
      text:
      textAlign:
      Label6
      Ms Sans Serief, Regular, size = 8
      Signification : Engineer on Computing and Software Systems Science.
      left


    7. Add the Label control - Label7,  Properties:
      A Label object is a component for placing text in a container. A label displays a single line of read-only text. The text can be changed by the application, but a user cannot edit it directly.
      name:
      Font:
      text:
      textAlign:
      Label7
      Ms Sans Serief, Regular, size = 8
      Copyright 2003
      left


    8. Add the Timer control - Timer1,  Properties:
      The Timer control is used to trigger an event at user-defined intervals. Use the control's Timer event to perform a polling operation or to display a splash screen for a specified amount of time.
      enabled:
      Interval:
      Name:
      True
      500
      Timer1


    9. Add the Button control - btnClose,  Properties:
      Use a CommandButton control to begin, interrupt, or end a process. When chosen, a CommandButton appears pushed in and so is sometimes called a push button.
      name:
      Location:
      Size:
      text:
      btnClose
      360, 112
      84,23
      Done


  6. The Biography.java, Codes ... (Click here)
     

    To run this application, from Debug menu, choose and click Start.

Note:
 The analogue application stored in the folder VJ App of the Visual_J++ folder. For more information, read the readmeVJ.htm file


Previous
  Home
7