1. JTextArea page 415 of Head First Java coderanch.comOkay, well this is my first post here. I've been going through Head First Java and I've gotten up to chapter 13. On page 415 there is a JTextArea example that looks like this: import javax.swing.*; import java.awt.*; import java.applet.*; import java.awt.event.*; public class TextArea1 implements ActionListener { JTextArea text; public static void main (String[] args) { TextArea1 gui = new ... |
2. code page 850 or 437 in a JTextArea forums.oracle.com// ========= the doubt code is here ======== // I see the . But the first caractere is a square // I wanna see a black face too byte[] b1 = { (byte) 0x02, (byte) 0x80}; String b2 = "\u0002\u0080"; String myString = ""; try { myString = new String(b1, "CP850"); } catch (UnsupportedEncodingException uee) { // do nothing } //myString ... |