Código Java:
Ver original
import java.awt.BorderLayout; import javax.swing.JFrame; import javax.swing.JList; import javax.swing.JScrollPane; JScrollPane scrollpane; public ScrollList() { super("JScrollPane Demonstration"); setSize(300, 200); setDefaultCloseOperation(EXIT_ON_CLOSE); "Company (US)", "Company (World)", "Team", "Will", "Birthday Card List", "High School", "Country", "Continent", "Planet" }; } ScrollList sl = new ScrollList(); sl.setVisible(true); } }
que si que lo entiendo perfectamente

Agradeceria la ayuda! :D