balloon

Trying to examine all of the reasons for the universe to exist

“When I was very young, my spiritual awareness was limited to a foggy sense of the presence of ‘something bigger’ than me and my personal life. During grammar school years, I was intent on trying to discover this elusive something. I was convinced that ‘it’ was the primary source of life and of everything in the world. I hoped to end my spiritual confusion by understand this ‘source’ and clarify the meaning of my life. My method for trying to understand this fundamental essence was to examine intellectually all the reasons I could think of for the universe to exist and to try to envision what had ‘existed’ before the universe came into being.”

(A quote from the book, Zen at Work, which I found in a used book store yesterday.)

When I was young, I’d lay in bed at night, imagine traveling to the end of the universe, and then I’d remember thinking, “It can’t end, it must keep going, right? How can the universe come to an ‘end’ unless it’s a balloon, in which case there is still something outside of the balloon.”

A JButton tooltip example

Java/Swing FAQ: How do I set the help text (i.e., help text, balloon text, tooltip text) on a JButton?

Just call the setToolTipText method on the JButton. Here's a quick JButton tooltip display example:

// create a button with tooltip help text
JButton button = new JButton("Click Me");
button.setToolTipText("Click this button to make something happen.");

JTextField tooltip display - how to set a balloon tooltip on a JTextField

Java/Swing FAQ: How do I set the help text (i.e., help text, balloon text, tooltip text) on a JTextField?

Solution: Just call the setToolTipText method on the JTextField. Here's a quick JTextField tooltip display example:

// create a textfield with tooltip help text
JTextField textfield = new JTextField(10);
textfield.setToolTipText("Enter your username over here, that other thing is a label.");
A JLabel tooltip example alvin July 13, 2009 - 5:37pm

Java JLabel FAQ: How do I set the help text (i.e., help text, balloon text, tooltip text) on a JLabel?

Just call the setToolTipText method on the JLabel. Here's a quick JLabel tooltip display example:

// create a label with tooltip help text
JLabel label = new JLabel("Username");
label.setToolTipText("Enter your username");