Application developed with Visual J++, Part 5.


The Book.java Form, after modification - Part 2

  1.   Add controls to the 1st Page of the tab control.
    The design :
     Book



     

     


    Add the following controls
    from the Toolbox :
    Two Labels, one Text box, one Button, one
    richEdit and one ListView

    1. 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.
      Font:
      name:
      Location:
      Size:
      text:
      Times New roman, Bold, size = 9
      label
      5
      8,
      8
      184, 14
      Type in the word to search for:


    2. Add the Label control - lbinfo,  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.
      Font:
      name:
      Location:
      Size:
      text:
      Ms Sans Serif. Regular, size = 8
      lbinfo
      8, 168
      288, 140


    3. Add the Edit control - editWord,  Properties:
      .Edit control is a rectangular control in which the user can enter text
      name:
      Font:
      Location:
      Size:
      text:
      editword
      Ms Sans Serif, Regular, size = 8
      8, 24
      176, 20


    4. Add the Button control - btnDisplay,  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:
      btnDisplay
      200, 240
      88, 23
      Display


    5. Add the richEdit - richEdit1 Properties
      The RichEdit is a control that contains formatted text. It supports font selection, boldface, and other type attributes
      name:
      Location:
      Size:
      text:
      Visible:
      richEdit1
      560, 232
      100, 30

      false


    6. Add the ListView -ListView Properties:
      The ListView control displays items using one of four different views. You can arrange items into columns with or without column headings as well as display accompanying icons and text.
      name:
      Location:
      Size:
      Text:
      View:
      ListViewSearch
      8, 45
      296, 117
      listView1
      ViewEnum.REPORT


  2. Add controls to the 2nd Page of the tab control.
    The design
     Book



     

     


    Add the following controls
    from the Toolbox :
    Four Labels and four Combo boxes

    1. Add the Label control - label8  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.
      Font:
      name:
      Location:
      Size:
      text:
      Ms Sans Serif. Regular, size = 8
      label8
      56, 40
      48, 15
      Title


    2. Add the Label control - label9,  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.
      Font:
      name:
      Location:
      Size:
      text:
      Ms Sans Serif. Regular, size = 8
      label9
      56, 72
      48,15
      Book



    3. Add the Label control - label10,  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.
      Font:
      name:
      Location:
      Size:
      text:
      Ms Sans Serif. Regular, size = 8
      label10
      16, 160
      48, 15
      Chapter


    4. Add the Label control - label11,  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.
      Font:
      name:
      Location:
      Size:
      text:
      Ms Sans Serif. Regular, size = 8
      label11
      56, 136
      48, 15
      Verse


    5. Add the Label control - lbinfo1,  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.
      Font:
      name:
      Location:
      Size:
      text:
      Ms Sans Serif. Regular, size = 8
      lbinfo1
      16, 160
      275, 14


    6. Add theCombo box - CmbBook Properties:
      A combo box consists of a list box combined with a static text control or an edit control. The list box portion of the control can be displayed at all times or can drop down when the user clicks the drop-down arrow.
      name:
      Location:
      Size:
      Text:
      ComboTitle
      112, 32
      128, 21


    7. Add the combo box - ComboBook Properties:
      A combo box consists of a list box combined with a static text control or an edit control. The list box portion of the control can be displayed at all times or can drop down when the user clicks the drop-down arrow.
      name:
      Location:
      Size:
      Text:
      ComboBook
      112, 64
      128, 21


    8. Add the combo box -ComboChapter Properties:
      A combo box consists of a list box combined with a static text control or an edit control. The list box portion of the control can be displayed at all times or can drop down when the user clicks the drop-down arrow.
      name:
      Location:
      Size:
      Text:
      Comb0Chapter
      112, 96
      128, 21


    9. Add the combo box -ComboVerse Properties:
      A combo box consists of a list box combined with a static text control or an edit control. The list box portion of the control can be displayed at all times or can drop down when the user clicks the drop-down arrow.
      name:
      Location:
      Size:
      Text:
      ComboVerse
      112, 128
      128, 21


     Book Forn, The Codes... - ( Click here ...)


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



Previous
  Home
5
 
Next