i created jlist and i added it to the frame i can change the height and width but i want to change the position of the list on the frame, i mean the x-postion and the y postion.
list_box tx = new list_box(subject);
tx.setPreferredSize(new Dimension(200, 400)); ////list box size
tx.setBackground(Color.yellow);
this.add(tv); // add th list to the frame
