Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

J-Link window to front

jruffsr

New member
PTC support does not want to answer this one. They have told me it is a
java issue. in truth all j-link questions are java questions. I
have created a JDialog that is opened by a menu click [also done in
j-link]. The problem is that the new window is behind the ProE
Wildfire2.0 window. Does anyone have a method to force the j-link
window to front?

Thanks in advance

Jeff Ruff
 
I have exactly the same problem. I found the following TAN (114336) in the knowledge base. Unfortunately I
 
The following is what I did [based on previous TAN]. Thanks for the reply



//Create JFrame

JFrame mainFrame = new JFrame();

mainFrame.pack();

mainFrame.setVisible(true);

mainFrame.toFront();

mainFrame.setSize(40,30);

mainFrame.setState(JFrame.ICONIFIED);

mainFrame.setState(JFrame.NORMAL);



//Create messages using JOptionPane


JOptionPane.showMessageDialog (mainFrame, "No model Found.\n Please
load drawing in ProE.","Drawing Check", JOptionPane.INFORMATION_MESSAGE
);



//To close JFrame

mainFrame.dispose();
 

Sponsor

Articles From 3DCAD World

Back
Top