Nation Pigeon

Nation Pigeon, the nations favourite Pigeon!
  • Home
  • About
  • Forum
  • StarQuest
Switcher

Archive

Posts Tagged ‘Java’

JScrollPane back to top

May 1st, 2009
No comments

If you want to make your JScrollPane return to the top once you have enter some text, try this:

myTextArea.setCaretPosition( 0 )

It places the curser back to zero and in turn makes the JScrollPane go back to the top.
Worked for me, hope this helps someone.

Pete Programming, Tutorials Java, Programming

RSS feed
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha

Random Posts

  • Cat Flash
  • How to convert a DVD to AVI
  • Ty Lee iPod

Tag Cloud

.hack//SIGN 3D Programming affter effects Anime botnets brain interface chaos gate christmas cool Copy DVD DVD first post Free game dev Gravatar HTML Karate lazy Linux Mart Martial Arts modeling music nation pigeon new banner PHP portal Programming PyGame Python RTS security site site update Special effects Studying tachikoma theme tutorial Ubuntu update video video editing Windows XP youtube

Archives

  • 2010
  • 2009
  • 2008
  • 2007

Categories

  • Anime
  • Games
  • Information
  • Linux
  • Programming
  • Random Useless items of interest
  • StarQuest
  • Tutorials

Meta

  • Log in
Top WordPress
Copyright © 2007-2010 Nation Pigeon
Theme by mg12. Valid XHTML 1.1 and CSS 3.