I guess I completed it. Thanks for you help! :D
Type: Posts; User: Melawe
I guess I completed it. Thanks for you help! :D
Ah, yourwelcome. :)
Oh, hmm, I think I've completed the assignment. If so, the scroll bar is useless, do you think I completed it?
Updated code:
public class HR16ComboScroll extends JFrame{
public HR16ComboScroll(){
super("Combo Scroll");
setSize(200,50);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); ...
Sorry not sure what you mean.
Quote from book: "Create a GUI that includes a combo box in a scroll pane.".
Edit:
It does compile but the list doesn't have scroll bars, rather a long string, I...
Hello,
I have to make a graphical application, which has a JComboBox and scroll bars. I tried quite a few things, nothing worked and I don't know why. Here is the code I currently have.
package...