OK... thank you for all your help!
Type: Posts; User: Firearrow5235
OK... thank you for all your help!
Ahhh! Ok... so it takes a printstream... I know how to create a printstream but what ties that printstream to the text pane? Do I just have to create the printstream in the arguments "section" of the...
I don't know if I can use it... That's kinda why I'm here... I am an absolute beginner. I'm writing this program mainly as practice, and to find out what I need to learn.
Here's my code so far......
Ok, I have System.setOut()... but what goes inside the parenthesis? I've tried "JTextPane", I've tried "JTextPane.class", I've tried "myframe.class". I just don't know the syntax required to say...
I apologize, but I'm just not getting it... I checked out the link you posted KevinWorkman, but I still can't find a way to do what I want to do. May it be because I'm approaching the program the...
Same questions... I want to run the compliment program using the "generate" button... and I want to display the output in the text pane next to it... simply put I don't know how to do it. the only...
(Sorry for posting twice... my post didn't show up right after posting... both times)
This is not the code for the GUI... just the beginnings of my random compliment generator...
This is the code...
Sorry... I realize it was a bit rushed...
here's the code for the generator so far:
import java.util.Random;
public class Compliment {
I'm sorry... i do realize it was a bit rushed. I have no idea how to make an SSCCE but I will explain exactly what I am trying to do. I'm making a compliment generator. Using a the switch function...
I'm working on a program that has three buttons... one that plays a video, one that displays information, and one that I want to take information from a random generator and display it in a text...