• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Java bridge: Java method with 2 arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java bridge: Java method with 2 arguments


  • Subject: Java bridge: Java method with 2 arguments
  • From: Rimas Mickevicius <email@hidden>
  • Date: Fri, 13 Feb 2004 01:25:57 +0200

Hi there,

I need to use some Java classes. As manual, I've read the article
http://cocoadevcentral.com/articles/000024.php . Everything looks
great, but.. I have a problem with Java methods, which needs more than
1 argument. For example there is a method:

public void setValue(Comparable key, Number value) {

this.data.setValue(key, value);
fireDatasetChanged();

}

I'm trying to call it in this way: [data setValue:@"FirstPart" :43.2];

This way is described in the CocoaDevCentral article. But when I'm
trying to run my program it crashes:

*** -[org/jfree/data/DefaultPieDataset setValue::]: selector not
recognized
2004-02-13 00:45:58.278 01Chart_suJava[744] *** Uncaught exception:
<NSInvalidArgumentException> *** -[org/jfree/data/DefaultPieDataset
setValue::]: selector not recognized

01Chart_suJava has exited due to signal 5 (SIGTRAP).

Can anybody help me? Any suggestions are welcome.
Thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Java bridge: Java method with 2 arguments
      • From: p3consulting <email@hidden>
  • Prev by Date: selectCellWithTag: tries to ruin my night
  • Next by Date: update preference problem
  • Previous by thread: selectCellWithTag: tries to ruin my night
  • Next by thread: Re: Java bridge: Java method with 2 arguments
  • Index(es):
    • Date
    • Thread