samedi 22 août 2015

Getting return of java.awt.Component via reflection

I have a Component inside of a client which I want to retrieve via reflection.

  Component getGameComponent()
  {
    if (blah != null) {
      return blah;
    }
    if (blah != null) {
      return blah;
    }
    return this;
  }

Now, how would I grab that component via reflection?





Aucun commentaire:

Enregistrer un commentaire