hi,
i created a listbox

List list = new List();
      list.addItem(".....:P");
      list.addItem("...:(");
      add(list);
      list.makeVisible(1);
      setVisible(true);

how can i make the listbox enabled (readable, but not disabled), so the user can't select anything from it?

also, does anyone know of any good sites with full tutorials for beginners, for java?

Have to add an eventListener to your code so you can use it.
Take a look at my calc app i made for a project, I used a listbox.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.