It looks like you are correct on that Norm . . .
How to Use Editor Panes and Text Panes (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
Thanks, that really appears...
Type: Posts; User: Skywola
It looks like you are correct on that Norm . . .
How to Use Editor Panes and Text Panes (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
Thanks, that really appears...
Microsoft word is an example of what you can do - drag-drop an image into it, and the image itself
shows up within the text. That is what I would like to be able to do. I have been able to do...
Is this even possible? I would like to make it so I can drag drop an image into a textbox . . .
does anyone know of any tutorials or example code for this? Thanks in advance.
I created a project similar to what you are talking about. ArrayList works good for it, but you will want to create a class for the questions and answers. Creating a class and passing it to the...
You say "Okay im trying to get when a user inputs a question the java program will output a pre written answer."
Are you only expecting one question?
Also . . . change
username =...
I found the problem . . . . it is disgusting! :(|) NetBeans uses UTF-8, as it should be . . .
Eclipse uses ANSI! And it is a locked setting, so you cannot change it as far as I know.
The...
I am running Windows 64 bit, Netbeans 7.4, and I can't key command-line
input. Eclipse, using the exact same code, allows input. I have tried
all kinds of changes to the settings, but still...
So it appears that they are saying that to use the JComponent features, you need to
do one of three possible things:
1. Typecast the return value.
contentPane1 = (JComponent)...
A good reference for starting is:
The Really Big Index
I am with you, I am learning this too. The method I am using is:
First import:
import java.util.Scanner;
Then in the main part of...
On the Oracle website, at
Using Top-Level Containers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
I have this paragraph:
However, it does not really give a...
I hear you on that . . . . I am currently working through a transcender practice
test for the first Java 7 exam, and it is no walk in the park, if you do no coding, your
chances of passing are...
Well, I am really looking for something that expands on this:
Reading, Writing, and Creating Files (The Java™ Tutorials > Essential Classes > Basic I/O)
AND any other forms, including nio. ...
File IO is a large subject, and what I really find confusing about
it is that nearly anywhere you look for information on it, you find
a morass of different methods listed on how to read or write...
You have drawn the wrong conclusion; I did not paste this in. I use a 42" television
as my computer monitor . . . . hence the "wideness".
I really just suspect this, but I'm asking to confirm one way or the other.
In the study books I have read about interfaces, all of the examples I have seen so
far show the interface being...
That makes sense . . . . I'll give it a whirl. Thanks.
Later note:
Just in case anyone wants to see what I cooked up from this:
public static int[] swapElements(int[] values, int...
Ok, so I was just goofing off, creating a class that allowed you to pass in an array,
and pass in the two positions that you want to swap, and then return the array,
it's just a jackass solution,...
Thanks for the response . . . I use Eclipse for writing the code, but BlueJ for testing. BlueJ seems to be kind of cool because you can do UML in it too.
Do most unit testers use BlueJ? I am wondering what I should learn for unit testing. Also, given that you should unit test all classes, if you are writing a class that produces a ListArray of...
Thanks Greg and Norm . . . your right, I should have mentioned it is for Windows 7 . . . I'll edit the original message, thanks!
I do not see any OS forums here on this site. I use CentOS too, but...
This should be easy, but it does not seem to be working . . .
All I want to do is output the help info to a file, and I am attempting to do it on the command line like this:
javac -help >...
I am trying to figure out how to take my .class files, put them in a .jar file, and then
import the package into a .java file.
So far, I have been able to create the .jar file, but I am...
Ok, I see, said the blind man . . . .
a = 10;
System.out.println("a = " + a);
f = a++ +a;
System.out.println("a =" + a + " a = " + a);
This code is some code that I started out with experimenting, from a bit of code that I
found in OCA Java SE 7 Certification Guide by Mala Gupta. What puzzles me is the
output. My question is...
I'm working on preparing for IZO-803, so I thought it might be helpful to join the forum. [..]