Feeds:
Posts
Comments

Archive for August, 2009

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 [...]

Read Full Post »

Pilot Study of Selective Messages     Message thread: http://forums.sun.com/thread.jspa?forumID=57&threadID=577413 Message Description: the poster is new to swing and want to have a sample of Jbutton click. Message type: goal-oriented; although the author pasted some code, his purpose is simply finding some code example for inspiration. He is new to swing and need some start-up [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

Pilot Study of Selective Messages     Message thread: http://forums.sun.com/thread.jspa?forumID=57&threadID=586050 Message Description: Poster had a problem while enabling/disabling a button Message type: goal-oriented(Although the poster provide part of his code and mentioned a phenomenon, he finally chose the solution provided in reply 3 instead of his own. Therefore, I prefer it to be a goal-oriented [...]

Read Full Post »

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 [...]

Read Full Post »

Pilot Study of Selective Messages     Message thread: http://forums.sun.com/thread.jspa?forumID=57&threadID=580257 Message Description: Poster needs to add tooltiptex to his buttons. The first reply provide a full piece of code that accomplish the function Message type: goal-oriented Q&A process: q1-a1(code solution)-a2(poster confirm solution)-q2(another question)-a3-q3-a4 What is the situation of the Q/A? A full piece of code [...]

Read Full Post »

Pilot Study of Selective Messages     Message thread: http://forums.sun.com/thread.jspa?forumID=422&threadID=665309 Message Description: Poster has a goal of adding Jbutton to a Jdialog Message type: goal-oriented Q&A process: q1-a1(code example, solution 1)-a2(code, solution 2 )-a3(word description, solution 3) What is the situation of the Q/A? articulate post and clear solution With code/not: with code Communication media [...]

Read Full Post »

Pilot Study of Selective Messages     Message thread: http://forums.sun.com/thread.jspa?forumID=57&threadID=576955 Message Description: Poster want to set a .PNG image as the button background Message type: goal-oriented Q&A process: q1-a1(code example, solved) What is the situation of the Q/A? articulate post and clear solution With code/not: with code Communication media (code/image/word….): word description; code; Swing category: [...]

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.