The Artima Developer Community
Sponsored Link

Java Answers Forum
setVisibleRowCount()

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
displace

Posts: 6
Nickname: displace
Registered: May, 2003

setVisibleRowCount() Posted: May 26, 2003 10:34 AM
Reply to this message Reply
Advertisement
Hi

i code something like this:

jList = new JList(arrayObj);
jList.setVisibleRowCount(3);
JScrollPane scroll = new JScrollPane(jList);

i didn't get 3 rows but the default 8 rows, and i can't get the scroll bar.
can anyone help me? thank u.

Topic: File path question Previous Topic   Next Topic Topic: Rendering swing tool tip text

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use