Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question Regarding Java Image Map Servlet Code  RSS feed

 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am having trouble integrating the coords.length on this code snippet. Do you have any ideas on what I should use which would work?

thanks,
Michele
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see the Servlets connection.
 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


This shows it a little better. I am having trouble figuring out to do on line 50. -- Thanks, Michele
 
jatan bhavsar
Ranch Hand
Posts: 299
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Michele,



is not clear what you are trying to do? If you want length then you need to take coords as integer instead of Array.

Regards
Jatan
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I still don't see what this has to do with Servlets. It's been moved to Beginning Java.
 
Paul Clapham
Sheriff
Posts: 22504
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:I still don't see what this has to do with Servlets.


Nothing, if the presence of JFrame means anything at all.

Michele, after all these posts you still haven't learned to provide even a basic description of your problem. However I'm going to take a guess and say that



is perhaps not the Rectangle class you should be importing. That would lead to compiler errors.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!