1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
//Title: OpenCASCADE Samples
//Version:
//Copyright: Copyright (c) 1999
//Author: User Interface Group (Nizhny Novgorod)
//Company: Matra Datavision
//Description:
import java.awt.*;
import javax.swing.*;
import java.util.*;
public class AboutPanel extends JPanel
{
static protected ResourceBundle resIcons =
ResourceBundle.getBundle("properties.DesktopIcon");
public AboutPanel()
{
try
{
jbInit();
}
catch (Exception e)
{
e.printStackTrace();
}
}
private void jbInit() throws Exception
{
setLayout(new GridBagLayout());
ImageIcon imageIcon = new ImageIcon(resIcons.getString("AD_MATRA"));
JLabel imageLabel = new JLabel(imageIcon);
add(imageLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0,
GridBagConstraints.CENTER, GridBagConstraints.NONE,
new Insets(10, 10, 5, 10), 0, 0));
add(new JLabel("Open CASCADE Technology Samples, Open CASCADE Technology 6.4"),
new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0,
GridBagConstraints.CENTER, GridBagConstraints.NONE,
new Insets(5, 10, 5, 10), 0, 0));
add(new JLabel("Copyright (C) 2001-2010, Open CASCADE S.A.S"),
new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0,
GridBagConstraints.CENTER, GridBagConstraints.NONE,
new Insets(5, 10, 10, 10), 0, 0));
add(new JLabel("http://www.opencascade.com"),
new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0,
GridBagConstraints.CENTER, GridBagConstraints.NONE,
new Insets(5, 10, 10, 10), 0, 0));
}
}