alvin alexander
alvin alexander
Home search using google About Alvin Alexander rss feed Alvin Alexander on Twitter Donate to keep Alvin writing!
I am not a person in your sense of the word, though I may appear a person to you. I am that infinite ocean of consciousness in which all happens.
~ Sri Nisargadatta Maharaj
A Zen Classic
Zen
Master
Raven

Sat, Mar 1, 2003

By Alvin Alexander. Last updated: June 4, 2016

A little ditty on how to find the caret position in a JTextComponent, and display a JPopupMenu near that position. This is one of those things that may not be 100% correct, but it works until someone finds a better way.

page-1
caret
jtextcomponent
  • Java caret position - Getting the caret position in a text document
  • End of line caret position
  • Java textarea cursor/caret position
  • JavaFX TextArea: How to insert text at the cursor/caret position
  • Dart: How to compile/run a project with a pubspec.yaml file (dependencies)

books by alvin

  • Functional Programming, Simplified (a best-selling FP book)
  • Book: Learn Functional Programming The Fast Way! (FP for OOP developers)
  • Learn Scala 3 The Fast Way (book)
  • Learning Recursion: A free book, by Alvin Alexander
  • Functional programming books, comparison
Links:
front page photo gallery scala linux/unix alvin on twitter privacy terms & conditions
alvinalexander.com
is owned and operated by
Valley Programming, LLC
 
In regards to links to Amazon.com, As an Amazon Associate
I (Valley Programming, LLC) earn from qualifying purchases
 
This website uses cookies: learn more
This website uses cookies: learn more

alvinalexander.com is owned and operated by Valley Programming, LLC

In regards to links to Amazon.com, “As an Amazon Associate
I (Valley Programming, LLC) earn from qualifying purchases”
 
 
java
java tutorials
android tutorials
java applets
java faqs
intellij idea
eclipse ide
jdbc
jsp’s
java servlets
jfc-swing
kotlin
perl
perl tutorials
perl faqs
perl recipes
perl tutorials
Unix
linux tutorials
unix by example
tutorials
man (help) pages
programming
scala tutorials
drupal
flutter/dart
git
haskell
oop
php
mysql
postgresql
ruby
sencha
best practices
programming
software dev
testing
uml
misc
privacy policy
terms & conditions
apple/mac/iphone
career
design
funny/humor
function point
analysis (fpa)
fpa tutorial
gadgets
technology
LaTeX
alaska
colorado
cvs tutorials
wincvs tutorial
free video courses
free scala 3 video course
free functional programming video course
free advanced scala 3 video course
other
contact me
rss feed
my photos
inspirational quotes
investing
'personal' posts
science
zen, mindfulness
life in alaska
living in talkeetna, alaska