I can't get them to work. I've tried all day. Can't find anything.
I can't extend JPanel as I need to extend JFrame for other things.
Type: Posts; User: javapenguin
I can't get them to work. I've tried all day. Can't find anything.
I can't extend JPanel as I need to extend JFrame for other things.
Ok, so far I can add one, but it's too small and doesn't do what I wanted. How do you get it to be the same size as the JPanel?
I meant so I could scroll the JFrame down if I had more buttons than would fit.
Also, how would you add scroll bars to a jframe itself, not just have one in it?
I thought I tried that but it printed
o
o
o
o
o
o
o
o
No, that code tells me that it is going to index 4, which doesn't exist. If it does go into an infinite loop, it means the problem is fixed. As of right now, that while keeps it from throwing an...
No, it never prints because for some odd reason it goes up to four, even though the length is 4, and I told it to be less than length.
I'm trying to make an algorithm that'll solve this puzzle:
0000
0000
0000
0000
Where you remove just six 0 s and get an even number of 0s in every...