ray
878db2b241
Don't allow drags to start from a DragSource whose component is disabled;
...
don't allow drops over a DropTarget whose component is disabled.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@880 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-28 19:19:43 +00:00
shaper
ab8606f10b
Expanded imports.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@879 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-27 22:17:08 +00:00
shaper
48677691b3
Added an adapter for the PopupMenuListener interface.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@878 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-27 08:31:29 +00:00
mdb
840fcbdf14
Added urlEncode() to the Velocity string tool.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@877 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-25 18:04:44 +00:00
mdb
fb3be71567
Added convenience method for rounding a number up to a power of two.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@876 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-23 23:31:32 +00:00
mdb
8dd1b4c4bb
A step down the road toward interface elements that look after themselves.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@875 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-23 02:06:14 +00:00
ray
229591d213
added positionRect() and createPointComparator(), both originally from
...
the internals of comic chat.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@874 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-18 21:45:10 +00:00
ray
b483031902
LRU hashmap with rudimentary performance tracking code.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@873 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-18 01:43:46 +00:00
shaper
72a05fa745
Added two useful constructors that allow specifying additional label
...
configuration options. Added layout(Component).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@872 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-17 00:32:47 +00:00
shaper
de4dccabe4
Removed log message caching from the default log provider in the interest
...
of KISS. Someday the default log provider will surely be able to read
e-mail, otherwise it will be replaced by someone else's log provider that
can.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@871 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 19:30:15 +00:00
shaper
e9f2df069c
Minor javadoc edits.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@870 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 19:12:53 +00:00
shaper
56b4ec8a69
Replace System.out and System.err in order to capture absolutely all
...
interesting output rather than just capturing output via log() and
logStackTrace().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@869 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 19:10:13 +00:00
shaper
bdbf7ec25a
Wraps a print stream to allow monitoring all text printed to the stream.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@868 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 19:09:02 +00:00
shaper
ae71f3d7d5
Make the slider component available to allow configuration without having
...
to add wrapper methods to the SimpleSlider itself for every possible
slider configuration option.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@867 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 14:55:58 +00:00
mdb
92f15137e3
Work around a bug in Tomcat 3.3's class loader.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@866 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 01:52:37 +00:00
mdb
fa522c41fc
Go ahead and throw the exception in StringUtil since everyone else will
...
end up doing something like that anyway.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@865 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 00:44:48 +00:00
mdb
056072405c
Moved MD5 encoding routine into StringUtil.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@864 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 00:42:26 +00:00
mdb
2ed07b5590
Better error reporting.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@863 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-14 00:23:41 +00:00
mdb
8f60bffa78
Added means for loading subproperties into existing properties object.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@862 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-14 00:23:09 +00:00
shaper
7dceb9c255
Added rudimentary facilities to the default log provider for caching log
...
messages.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@861 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-08 02:17:57 +00:00
mdb
c969f9a2f7
Fixed wildly inaccurate constructor documentation.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@860 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-07 17:52:59 +00:00
mdb
36a94d4326
Added ability to specify name of looping thread in constructor.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@859 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-05 23:45:59 +00:00
shaper
db316be504
Added setConstraints().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@858 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-04 21:28:23 +00:00
ray
d947409983
go ahead and make dialogs transparent- if they have an irregular border
...
it will paint correctly.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@857 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-04 01:24:58 +00:00
shaper
9e2c1af444
Added copyright header and minor edits to javadoc formatting.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@856 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-01 18:56:32 +00:00
ray
13542f421f
Because I'm sick of unforgiving clicks.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@855 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-01 17:31:14 +00:00
shaper
a9b4b9ee9c
Added variant of createDialog() that allows specifying a dialog title.
...
Added copyright header and edited javadoc slightly.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@854 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-30 06:23:11 +00:00
mdb
61796f97cf
A layout manager for those times when you need absolute control.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@853 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-25 23:49:10 +00:00
mdb
412d26b2d4
Catch weird sporadic error that is occasionally thrown when label layout
...
results from the initial call to pack() on a Frame when an application
first starts up.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@852 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-25 08:42:00 +00:00
mdb
64355cce3c
Added some new make[HV]Box variants.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@851 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-25 07:26:19 +00:00
shaper
db0d6a7407
Deal gracefully with a null dialog in invalidateDialog().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@850 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 09:47:34 +00:00
shaper
a961d4547e
Deal gracefully with a null component in applyToHierarchy().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@849 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 09:47:14 +00:00
mdb
ec5f971b62
Improved handling of preformatted lines; other minor cleanups.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@848 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 07:57:40 +00:00
mdb
e185557e52
Added fieldsToString() versions that take a field separator.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@847 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 07:43:50 +00:00
mdb
91867ce1e5
Use HORIZONTAL text constraining by default.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@846 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 06:47:38 +00:00
shaper
770d50c363
Need to call repaint() in each of the setXXX() methods after marking
...
ourselves dirty.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@845 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 01:31:39 +00:00
mdb
b3961924e3
Added code to toString() InetAddresses in dotted quad notation.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@844 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 01:00:03 +00:00
mdb
90383047cd
Added support for parsing byte arrays.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@843 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 00:09:37 +00:00
shaper
0aac64cdd5
Added support for rendering label text with a shadow or bold text style.
...
Fixed MultiLineLabel.getPreferredSize() to attempt to lay out the label
before obtaining its preferred size, and to lay out a dirtied label lazily
rather than each time a setXXX() method is called.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@842 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-23 21:19:06 +00:00
mdb
09f035de30
Whoops, wrap avoidance code was booched. Normal log lines have no newlines
...
anywhere until we add one when logging it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@841 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-23 20:33:04 +00:00
mdb
af63d8f436
Don't wrap lines that contain newlines other than at the end (so that we
...
don't mess up attempts at hand-formatting log messages). Added, but left
commented out, code to include the logging thread id.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@840 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-23 18:00:59 +00:00
mdb
fdd6400033
Test SortableArrayList.insertSorted().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@839 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-23 01:45:47 +00:00
mdb
8ddea694d3
Added insertSorted().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@838 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-20 21:28:08 +00:00
mdb
5ab843caf1
Fixed a bug in insert().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@837 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-20 21:27:54 +00:00
shaper
8d59a9deec
Added splice() variant for int[][].
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@836 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-19 23:37:40 +00:00
mdb
22e5c9e35b
Changed default "terminal" width.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@835 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-19 18:42:42 +00:00
shaper
526d43fe6e
Added setAntiAliased().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@834 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-18 01:19:26 +00:00
shaper
687628f9f6
Added toString().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@833 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-18 01:18:51 +00:00
ray
da66da636f
Added add*() methods that let you specify if you don't want the component
...
to be automatically removed as a target/source when it's removed from
the component hierarchy.
Added remove*() methods.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@832 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-16 21:29:25 +00:00
ray
d5ec4bba40
Added support for autoscrolling.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@831 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-06 21:56:57 +00:00