Andre Bandarra

Greenhorn
+ Follow
since Jun 07, 2005
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 Andre Bandarra

This report shows the total number of points awarded for each section. The maximum number of points is 400, to pass you need a score of 320. Section Summary:
Section Max Actual Points Points
General Con: 100 85
Documentation: 70 65
OOD: 30 30
GUI: 40 26
Locking: 80 80
Data Store: 40 30
Network Server: 40 40
Total: 400 356

I took the test on december 13 and got the result today. I used Monkhouses book as studying material!
14 years ago
I treat record numbers as the records index on the data file. For example:
the first record in the file is recNo 0, the second is recNo 1, the third is recNo 2 and so on...
Hello guys!

I�m on B&S, and doing it on JDK 1.6

I found two interesting features from 1.6 to be used so far.
The first one is in the Arrays class



I think its usefull when writing records to the data file, like the example below


The other interesting class is javax.swing.table.TableRowSorter<M>, which provide sorting and filtering using a TableModel. The result of a findByCriteria could be filtered by the TableRowSorter for displaying on the JTable.

What do you guys think? Do you know any other 1.6 feature that could make our lives easier?
[ July 31, 2007: Message edited by: Andre Bandarra ]
Hello Markus!

I�m on BS too

I guess its only another description for approach 2 adn describes the non-netword mode!
Got funny names here too... Including the one you mentioned.
I guess somebody at Sun is a Superman (or Smallville) fan...
Caught some kind of virosis that gave me fever and made me stay in bed and not study for the whole week.
Took the test anyway yesterday! and got 79%.
Studied using HFSJ and took some mock questions from the javaranch site.

Originally posted by Craig Wood:
win xp professional version 2002 sp2
C:\jexp>java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)



Hey, Craig! Think i nailed the problem! could you test the link again? Everyone else, could you test it for me

http://www.bandarra.org/applets
16 years ago
Thanks Brian!
The init is supposed to appear...
That applet is giving me trouble on some random machines, and i cant find why...
16 years ago
Could somebody else test my applet and tell me if its working?
It doesnt works for Craig... At home, under Linux it works but gives me an exception when i try to reload the applet. I think it has to do with resource caching...

Under Windows, here at work, it works perfectly, reloading and all
16 years ago
Are you behind a proxy or something??

By the way, thanks for the BufferedImage tip. I was drawing directly into the JPanel. I used the BufferedImage for the colormap and it worked...
16 years ago
Damn... I�ve tested at my windows box here, at work and at a friends Linux box, both of them with JDK 5.0 and things went fine...

Whats your box? Whata JRE version are you using?
16 years ago
Well, i used a BufferedInputStream on the Applet now... It will probably work better. Try it, please...
16 years ago
I hadn�t seen the first error yet...

The second one happens when i try to reload the page under my Linux box. Things go fine on Windows.

Im making a MapPanel that can be used on an Applet or Desktop application... So the applet is just for testing purpose.

I think the problem is with the stream that downloads the map... On both cases.

Anyway... any idea how can i do to pick the color under the mouse cursor?
16 years ago
Thats it.
I'm using a panel to draw a colored map. Each area of the map has a different color. And i want to get the color under the mouse cursor when the mouse moves so i can know over what area the mouse is over.

So i made a MouseMotionListener and when the mouse moves i'm able to get the point the mouse cursor is over. But i'm stuck trying to find out which color is at that point

If you want to get the idea of what i am doing, my work-in-progress is at this page (requires JRE 5.0)

http://www.bandarra.org/applets/JMapperApplet.html

Can anybody help me?
16 years ago
Please, delete this post since i've posted another on the Results Forum.
Sorry for the inconvenience