← Back to team overview

sikuli-driver team mailing list archive

[Bug 992009] Re: [request] Java: want a preload option for all or an individual library when a Java application launches --- workaround

 

** Description changed:

  *** workaround
  
  put the following code at the beginning.
  It will force preload all stuff.
  
  new Finder((new Screen()).capture(0,0,1,1), new Screen());
+ new App("").window();
+ TextRecognizer.getInstance();
+ 
+ or even shorter:
+ 
  new App("").window();
  TextRecognizer.getInstance();
  
  (source: https://launchpad.net/~filipe-alonso)
  
  ------------------------------------------------------
  
  this is based on the related question:
  
  Is there any embed function in sikuli-script to preload all or an
  individual library when a Java application launches so that one doesn't
  experience loading delay at first calls on depending functions?

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/992009

Title:
  [request] Java: want a preload option for all or an individual library
  when a Java application launches --- workaround

Status in Sikuli:
  New

Bug description:
  *** workaround

  put the following code at the beginning.
  It will force preload all stuff.

  new Finder((new Screen()).capture(0,0,1,1), new Screen());
  new App("").window();
  TextRecognizer.getInstance();

  or even shorter:

  new App("").window();
  TextRecognizer.getInstance();

  (source: https://launchpad.net/~filipe-alonso)

  ------------------------------------------------------

  this is based on the related question:

  Is there any embed function in sikuli-script to preload all or an
  individual library when a Java application launches so that one
  doesn't experience loading delay at first calls on depending
  functions?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/992009/+subscriptions


References