bqa.tn5250j.0.7.6.3.source-code.tn5250jLaunchExternalProgram.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tn5250j Show documentation
Show all versions of tn5250j Show documentation
Telnet 5250 java based emulator
TN5250J launch Customized External Program function
requirement:
TN5250J user want to launch Customized external program from tn5250j.
scenario:
need following steps to finish this requirement.
1 format Launch String to launch Customized external program.
for example: PDFViewer:parameter1,parameter2,parameter3
acroread Z:\share\pdf\chapter1.pdf
2 make Launch String to become a hotspot.
3 when user click hotspot, system check whether it's a Launch String, if it is a Launch String, System
automatically launch Customized external program with parameters which come from Launch String.
4 Configure Customized External Program, system allow user to configure Customized External Program name, window
command and unix command.
implementation:
1: generate Launch String.
2: modify ScreenPlanes.java's method checkHotSpots
3: modify OperatingSystem.java's method displayURL
4: modify Connect.java methods
Connect class's Construction method,
CreateExternalProgramPanel,
actionPerformed,
saveProps
create ExternalProgramConfig.java
modify tn5250jMsgs.properties
create tn5250jExternalProgram.properties
© 2015 - 2025 Weber Informatics LLC | Privacy Policy