• 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 question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java bridge question


  • Subject: Java bridge question
  • From: Rolf <email@hidden>
  • Date: Mon, 19 May 2003 14:13:44 +0200

Hi,

I have a Java class that I'm trying to create an object of in Objective C. I'm having problems calling the constructor (which has a string parameter).
The declaration of the Java class constuctor is:

public IniFile(String name)

From objective-C I call:

id iniConfig = [[NSClassFromString(@"IniFile") alloc] init:@"test.ini"];

This does not work. Calling constructors of other Java classes in the same manner works fine (as long as they don't take a parameter).
Anybody know how to solve this ?

/Rolf
_______________________________________________
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.

  • Prev by Date: Window behaviour question
  • Next by Date: Blue border around selected NSButtonCells.
  • Previous by thread: Re: Window behaviour question
  • Next by thread: RE: Java bridge question
  • Index(es):
    • Date
    • Thread