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

What is Lang.Language?  RSS feed

 
Anton Mo
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to compile a piece of code:

It is importing Lang.Language:



And uses it like this:



Obviously this class gives access to chinese fonts. But locating such a class is harder.
Google is giving me just worthless results. I cannot find what module has been used.

Any ideas coderanch experts?
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37222
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm. Where did you get that code from? That might give a clue we can use to find it.
 
Campbell Ritchie
Marshal
Posts: 55681
161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and … Welcome to the Ranch
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16026
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those are not classes from the standard Java API, nor classes from any well-known open source library.
 
Anton Mo
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Hmm. Where did you get that code from? That might give a clue we can use to find it.


Jeanne, it was in an applet example I had downloaded from somewhere.

and … Welcome to the Ranch


Thank you Campbell

Those are not classes from the standard Java API, nor classes from any well-known open source library.


Thanks for that. I decided to just comment it out.
 
Campbell Ritchie
Marshal
Posts: 55681
161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anton Mo wrote:. . . an applet example I had downloaded from somewhere. . . .
You sh‍ould always say where such material comes from (if possible), so everybody can assess it and also to prevent problems about copyright.
Nobody uses applets any more, so you would have to change the code to make it of any use anyway. If you managed to remove that line, you are obviously not using the Language class anyway.
 
Anton Mo
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you Bear
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!