Feeds:
Posts
Comments

Archive for October, 2009

Pilot Study: http://lilisworking.wordpress.com/2009/10/07/pilot-study-of-jbutton-button-specific/ Knowledge point: specific point: none; Global point: Java Version difference; Visible focus is necessary for most components;

Read Full Post »

LayoutManager; Design Discussion, topics require have knowledge of interaction between components – Renderer & Editor, KeyBoard are typical samples; focus; paint; UInterface; Version/OS difference; event handling thread;

Read Full Post »

Pilot Study of Selective Messages Message Thread: http://forums.sun.com/thread.jspa?threadID=5396568&tstart=1365 Message Description: Basic knowledge. OP needed add new button on title bar of a JFrame. Reponse lead to another discussion thread http://forums.sun.com/thread.jspa?threadID=5350499. Actually, it is only about the UI not button issue. Message Type: goal-oriented Q&A process: What is the situation of Q&A? What should be the [...]

Read Full Post »

Topic

paper idea: When programmers start leaning a new tool, which part of knowledge is most necessary? In general, majority and most important part is the Frame knowledge. How much is the percentage of each widget’s specific knowledge in Swing? And most of the rest are the Software’s architecture knowledge? Take JButton, JDialog and JTree as [...]

Read Full Post »

Pilot Study of Selective Messages Message Thread: http://forums.sun.com/thread.jspa?threadID=5394089&tstart=1500 Message Description: Turns out to be a layout manager problem. JGoodies FormLayout, a new type of layout. Nothing to do with JButton. Message Type: Q&A process: What is the situation of Q&A? What should be the most objective way of Q&A? With code/without code: Communication Media: Swing [...]

Read Full Post »

Pilot Study of Selective Messages Message Thread: http://forums.sun.com/thread.jspa?threadID=5397188&tstart=1275 Message Description: Multiple buttons with multiple/single actionListeners. OP can either use one actionListern handle all buttons(share same behaviors) or write each button a listener. Tutorial study is necessary. Message Type: goal-oriented Q&A process: What is the situation of Q&A? What should be the most objective way of [...]

Read Full Post »

Pilot Study of Selective Messages Message Thread: http://forums.sun.com/thread.jspa?threadID=566352&tstart=1230 Message Description: This message is quite large. Originally, people only talk about closing a frame with a button. OPoster provided a code which was very strange. Possibly he didn’t read tutorial before start programming. Dispose() can solve all his problem. Reply 6 is an SSCCE. OP didn’t reply [...]

Read Full Post »

Pilot Study of Selective Messages Message Thread: http://forums.sun.com/thread.jspa?messageID=10772815#10772815 Message Description: This post is more like a JAVA programming problem. Although OP asked how to use the same ActionListener with two different buttons, it has nth to do with actionListener itself at all. He had his codes but no idea how to arrange them. In fact, [...]

Read Full Post »

Pilot Study of Selective Messages Message Thread: http://forums.sun.com/thread.jspa?threadID=5399705&tstart=1050 Message Description: OP cannot set an opaque image in a translucent frame. Programming errors caused this symptom. Message Type: prob-oriented; Q&A process: What is the situation of Q&A? What should be the most objective way of Q&A? With code/without code: Communication Media: Swing Category: Status of Code: [...]

Read Full Post »

Pilot Study of Selective Messages Message Thread: http://forums.sun.com/thread.jspa?threadID=5400811&tstart=975 Message Description: A basic button knowledge post. OP should read Swing tutorials first. Obviously, poster needs some knowledge push in both Java and Swing. Below is the modification I made which serves his purpose: jLabels = new JLabel[VALUE]; for(int l=0;l<VALUE;l++){ jLabels[l] = new JLabel(/*Integer.toString(l)*/); jLabels[l].setName(Integer.toString(l)); } for(int b=0;b<VALUE;b++){ [...]

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.