Application developed with Visual J++, Part 6.

 

4th Step,  the About.java Form

 

  1. Create a Form ...
  2. The About.java, Form properties
    Items Old values (About.java) New values (About.java)
    bordeStyle:
    menu:
    Sze:
    StartPosition:
    Text:
    Sizable
    none
    308, 327
    Windows default
    About
    Sizable Toolwindow
    none
    350, 181
    Center Screen
    About ...


  3. The About.java design
     About ...


  4. Add the .gif file...
    From the ...\VJ App\res folder copy the  diam1.gif  file  to the folder C:\TestVJ\Pic .

     

  5. Add the following controls, from the Toolbox :
    One PictureBox, one label, one Edit and two Buttons
    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
      128, 64
      378, 199

      Note
      :The PictureBox1
      displays the file diam1.gif - (stored in the folder C:\TestVJ\ res).

    2. Add the Edit control - Edinfo,  Properties:
      .Edit control is a rectangular control in which the user can enter text
      name:
      Font:
      text:
      Size:
      Edinfo
      Ms Sans Sereif, Regular, size = 8

      248, 88


    3. Add the Button control - btncreatede,  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:
      btncreated
      152, 128
      84,23
      created by


    4. 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
      284, 128
      84,23
      Done


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


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

Previous
  Home
6
 
Next