サポート項目 > 【正誤表】 |
この度は、「TECHNICAL
MASTER はじめてのJavaプログラミング JavaTM2 SDK対応 」をお買い上げいただきありがとうございました。
本書には以下のサポートがあります。 (2003/4/24更新) |
●49ページ キャプション:
【誤】→ ▽表 Vairable.javaの変数
【正】→ ▽表 Variable.javaの変数
|
●50ページ キャプション:
【誤】→ ▽表 Vairable.javaの定数
【正】→ ▽表 Variable.javaの定数
|
●53ページ Sampleファイルの場所:
【誤】→ (\rc\04\04_02\Vairable1.java)
【正】→ (\rc\04\04_02\Variable1.java)
|
●55ページ キャプション:
【誤】→ ▽表 Vairable.javaの変数
【正】→ ▽表 Variable.javaの変数
【誤】→ ▽表 Vairable.javaの定数
【正】→ ▽表 Variable.javaの定数
|
●166ページ Sampleリスト 30行目
【誤】→ MyClass mc = new MyClass();
【正】→ MyClass1
mc = new MyClass1();
|
●167ページ Sampleリスト 23行目
【誤】→ class MyClass2 implements MyTnterface1, MyInterface2 {
【正】→ class MyClass2
implements MyTnterface2a,
MyInterface2b { |
●168ページ Sampleリスト 41行目
【誤】→ class MyImplements2 extends MyClass2 {
【正】→ class MyImplements2
(削除) |
●168ページ Sampleリスト 43行目
【誤】→ MyImplements2 mi2 = new MySubClass();
【正】→ MyClass2
mi2 = new MyClass2(); |
●220ページ Sampleリスト 53行目
【誤】→ public static void setPetName(PetInterface pet, Stringname) {
【正】→ public static
void setPetName(PetInterface pet, String
name) { |
●285ページ Sampleリスト 17行目
【誤】→ RandomAccessFile raf = newRandomAccessFile(fileName,"rw");
【正】→ RandomAccessFile
raf = new RandomAccessFile(fileName,"rw");
|
●362ページ Sampleリスト 29、30行目
●364ページ Sampleリスト 31、32行目
【誤】→ |
jlabel.setForeground(Color.red); //<---
ラベルの背景色設定。
jlabel.setBackground(Color.green); //<---
ラベルの文字色設定。 |
【正】→ |
jlabel.setForeground(Color.red); //<---
ラベルの文字色設定。
jlabel.setBackground(Color.green); //<---
ラベルの背景色設定。 |
|
●365ページ Sampleリスト 30、31行目
【誤】→ |
jbutton.setForeground(Color.red); //<---
ボタンの背景色設定。
jbutton.setBackground(Color.green); //<---
ボタンの文字色設定。 |
【正】→ |
jbutton.setForeground(Color.red); //<---
ボタンの文字色設定。
jbutton.setBackground(Color.green); //<---
ボタンの背景色設定。 |
|
●367ページ Sampleリスト 30、31行目
【誤】→ |
jtext.setForeground(Color.red); //<--- テキストの背景色設定。
jtext.setBackground(Color.green); //<--- テキストの文字色設定。
|
【正】→ |
jtext.setForeground(Color.red); //<--- テキストの文字色設定。
jtext.setBackground(Color.green); //<--- テキストの背景色設定。
|
|
●370ページ Sampleリスト 33、34行目
●371ページ Sampleリスト 33、34行目
【誤】→ |
jlist.setForeground(Color.red); //<--- リストの背景色設定。
jlist.setBackground(Color.green); //<--- リストの文字色設定。
|
【正】→ |
jlist.setForeground(Color.red); //<--- リストの文字色設定。
jlist.setBackground(Color.green); //<--- リストの背景色設定。
|
|
●374ページ Sampleリスト 34、35行目
【誤】→ |
jcombo.setForeground(Color.red); //<---
コンボボックスの背景色設定。
jcombo.setBackground(Color.green); //<---
コンボボックスの文字色設定。
|
【正】→ |
jcombo.setForeground(Color.red); //<---
コンボボックスの文字色設定。
jcombo.setBackground(Color.green); //<---
コンボボックスの背景色設定。
|
|
●376ページ Sampleリスト 52、53行目
【誤】→ |
jmenu.setForeground(Color.red); //<--- メニューの背景色設定。
jmenu.setBackground(Color.green); //<--- メニューの文字色設定。
|
【正】→ |
jmenu.setForeground(Color.red); //<--- メニューの文字色設定。
jmenu.setBackground(Color.green); //<--- メニューの背景色設定。
|
|