Giter Site home page Giter Site logo

Handling single popup about ibc HOT 1 CLOSED

ibcalpha avatar ibcalpha commented on August 27, 2024
Handling single popup

from ibc.

Comments (1)

rlktradewright avatar rlktradewright commented on August 27, 2024

Well, my advice would be not to reinvent the wheel and just use IBC. What does it matter if you're not going to use the full functionality? IBC is tiny, and practically zero overhead. In my opinion, you need a good reason not to just use it as it is. Do you have such a reason?

I don't want to have to spend my time answering questions about how it works if you're not going to be using it. But on this occasion I'll answer the questions you asked:

  1. It can't listen to events from other applications' windows, only from the current process. IBC loads TWS/Gateway into the IBC process, so both IBC and TWS/Gateway are running in the same process.

  2. ibgateway.GWClient.main() is the entry point into the Gateway. It's in one of the jar files that are put in the jars folder when you install TWS/Gateway (probably jts4launch-974.jar but I'd need to check to be sure). ibgateway.GWClient is a class within this jar, and it has a main method like any other top-level Java entrypoint. You have to ensure your Java IDE has a reference to this jar in your project: how this needs to be done will depend on which IDE you're using.

If this information is not enough to get you on your way, then you 're probably not going to succeed unless you spend the time understanding the AWT mechanisms: I'm not here to teach you!

from ibc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.