fill combox, reference a form from another form and running java application problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • menyki
    New Member
    • Feb 2007
    • 33

    fill combox, reference a form from another form and running java application problem

    am still finding it difficult as a new java user.

    am designing a software that has multiple forms, controls such as combobox and so on and finding it difficult to do the following.

    i want some combobox in the software to fill at design time, i.e. two combobox the first one already has 2 items, i want a situation whereby an item selected from the first combobox determines what items will fill the second combobox.

    secondly, i want to reference a form from another form. e.g. i want to open a form from the main form.

    thirdly, i want to remove the default form border and put a border of my choice. i also want set image i designed using corel draw as my background form.

    with visual basic.net i can do all this but i want to start using java. please can some body tell me what to do to solve the above problems
  • sukatoa
    Contributor
    • Nov 2007
    • 539

    #2
    i want some combobox in the software to fill at design time, i.e. two combobox the first one already has 2 items, i want a situation whereby an item selected from the first combobox determines what items will fill the second combobox.
    Use getSelectedInde x or getSelectedItem . Do the manipulation... . (initialize all the components before this).

    secondly, i want to reference a form from another form. e.g. i want to open a form from the main form.
    Sun's java examples. Hope this helps

    thirdly, i want to remove the default form border and put a border of my choice.
    Here is an example.

    Image background in JFrame? maybe in JPanel... there are lots of example on the web.....

    regards,
    sukatoa

    Comment

    Working...