Pilot Study of Selective Messages Message thread: http://forums.sun.com/thread.jspa?forumID=57&threadID=599979 Message Description: The poster has no idea how button ActionListener works. He can define a button in different ways: JButton b1 = new JButton(“Hi!”); JButton b2 = new JButton(“How are you?”); JButton b3 = new JButton(new ImageIcon(“image.gif”)); Therefore, no matter how the button’s GUI was [...]
Archive for August, 2009
Pilot study of Jbutton – Jbutton enabling inside event dispatch thread
Posted in Pilot Study Entries, tagged Event thread dispatch on August 31, 2009 | 2 Comments »
Pilot Study of Selective Messages Message thread: http://forums.sun.com/thread.jspa?forumID=57&threadID=577493 Message Description: the poster has a problem with his Jbutton enabling and thread dispatch. According to the code, it is not quite understandable. Message type: problem-oriented Q&A process: q1-a1-q2-a2 What is the situation of the Q/A? one ask one answer. The author didn’t clarify his [...]
Pilot study of Jbutton – ActionListener
Posted in Pilot Study Entries, tagged Design Discussion FAQ???? on August 27, 2009 | 2 Comments »
Pilot Study of Selective Messages Message thread: http://forums.sun.com/thread.jspa?forumID=257&threadID=148976 Message Description: The poster probably have some blurred knowledge of inheritance in Java. He plans to put the action performed into another class. Spankweat, the only respondents, provided two solutions and also showed an alternative which is his personal preference. Artntek, the poster, probably have [...]
Pilot study of Jbutton- close/terminate a Jframe ( solution correct?? )
Posted in Pilot Study Entries on August 26, 2009 | 1 Comment »
Pilot Study of Selective Messages Message thread: http://forums.sun.com/thread.jspa?forumID=57&threadID=580418 Message Description: OP wanna close a Jframe using a Jbutton. There were two solutions provided depending on poster’s own deploy: closing a Window and terminating the whole program. The poster had two Jframe and he simply wanted to close one of them by clicking a [...]
Pilot study of Jbutton– layout interacting with margin
Posted in Pilot Study Entries, tagged layout on August 26, 2009 | 8 Comments »
Pilot Study of Selective Messages Message thread: http://forums.sun.com/thread.jspa?forumID=57&threadID=579661 Message Description: Poster needs adjust the dimension of a Jbutton. Message type: goal-oriented Q&A process: q1-a1-a2(a line of code providing solution)-a3(confirmation of solution) What is the situation of the Q/A? OP needs adjust dimension of a button. By adding a single line, the problem was [...]