Wednesday, 15 January 2014

How to maximize the opened Excel file using java? -



How to maximize the opened Excel file using java? -

there opened excel file, minimized. want maximize excel sheet. have been using open() method of desktop class, sheet not getting maximized.

it opens file in maximized mode default xls reading software (office).

desktop dt = desktop.getdesktop(); seek { dt.open(new file("c:\\filename.xls")); } grab (ioexception e) { e.printstacktrace(); }

first maximize xls reading software (for e.g. office) window manually , close 1 time again , run program. open in maximized mode only.

java

No comments:

Post a Comment