Author | Topic: Should we consider this also as platform dependent? |
maha anna bartender |
posted April 24, 2000 07:48 AM
Hello all, In Jxam, one of the qstns asked say tru/false about 'java.awt.List' related info. The author says the foll is false. Possible Answer 3: A vertical scroll bar will be added automatically if needed. I thought List will have scroll bars if needed, since I have seen in some GUIs. So I checked the SAME example given in Java Doc. In JavaDoc the image shown DOES NOT show scroll bars. But when I tested the same example on Win 98 , JDK 1.2.2, it shows the scroll bars. So what do we say if this kind of qstns come up in the Exam. Thank you all. Please refer to the online Java Doc here,
[This message has been edited by maha anna (edited April 24, 2000).]
|
bongadi greenhorn |
posted April 24, 2000 08:44 AM
Hi! The figure in the jdk1.2 api docs is misleading. However if you increase the # of rows to be displayed in c'tor bongadi
|
satya5 ranch hand |
posted April 24, 2000 08:57 AM
Maha: If I remember the question correctly, the code given List lst = new List(X, false); Then the answers given are (something like this): A. multiple items can be selected I think the code does not add any items to the list. I told this to myself and agreed with the author of the exam. Re your example, I think the scroll bar is added (if needed)
- satya
|
| | |