Ivan Radulovic

Greenhorn
+ Follow
since Aug 26, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ivan Radulovic

Thanks Darryl. you are right, i missed Be Forthright When Cross Posting To Other Sites

So. i apologize for this. I actually made a day delay before posting same question on sun forum, but without pointing out that i already asked question on java ranch forum.

I will keep this in mind in future.
14 years ago
I have sample of JTable with data that i would like to be right aligned, also orange background color cell renderer is applied, and font is set to be Tahoma BoldItalic with font size of 13.

Problems that arise are, grid lines are over cell text, and also applied background color looks strange when PDF printer is used and document is zoomed.

Interesting thing is that when font is set to be even grid lines doesn't intersect cell text.



I am using 1.6.0_14 version of java.

You can find screenshot attached.

Do you have any suggestions or workarounds.

Thanks in advance.
14 years ago
I am wondering how to implement JFileChooser that would have notification (busy cursor) when operation of browsing folders take longer than usual because network is slow. I experimented a little with NetLimiter application which can slow down local network traffic. JFileChooser instance is set to point on shared folder on remote machine in LAN.

This is my implementation of file chooser:


But with this implementation i can only show busy cursor when dialog is triggered by showOpenDialog or showSaveDialog and only for the first time, when dialog is creating cache of its content. Any next showing of dialog is taking much less time in createDialog method, so busy cursor is being removed quickly. Beside this, there is no busy cursor for operations of changing directories or drives (for this i simply couldn't find suitable method to wrap safely with applyBusyCursor() and restoreDefaultCursor()).
I am using 1.6.0_14 version of java.

I would appreciate any suggestion on this.

Thanks in advance.
14 years ago