First_commit
7
.classpath
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry excluding="src/" kind="src" path=""/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
17
.project
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>App1</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
11
.settings/org.eclipse.jdt.core.prefs
Normal file
|
@ -0,0 +1,11 @@
|
|||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
BIN
Images/Install_Trinus/1.PNG
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
Images/Install_Trinus/2.PNG
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
Images/Install_Trinus/3.PNG
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
Images/Install_Trinus/4.PNG
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
Images/Install_Trinus/5.PNG
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
Images/Install_Trinus/6.PNG
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
Images/Install_Trinus/7.PNG
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
Images/Install_Wiimote/1.PNG
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
Images/Install_Wiimote/3.PNG
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
Images/Install_Wiimote/4.PNG
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
Images/Logos/Logo_INSA.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
Images/Logos/Logo_ISDAT.PNG
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
Images/Logos/Nom_Cours.PNG
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
Images/Tuto_Revit/1.PNG
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
Images/Tuto_Revit/2.PNG
Normal file
After Width: | Height: | Size: 43 KiB |
4
Path/Path.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Trinus
|
||||
C:\Users\Public\Desktop\Trinus Cardboard.lnk
|
||||
Revit
|
||||
C:\Users\Public\Desktop\Skype.lnk
|
7
bin/.classpath
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry excluding="src/" kind="src" path=""/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
17
bin/.project
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>App1</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
11
bin/.settings/org.eclipse.jdt.core.prefs
Normal file
|
@ -0,0 +1,11 @@
|
|||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
BIN
bin/Application1/ImagePanel.class
Normal file
BIN
bin/Application1/Interface$1.class
Normal file
BIN
bin/Application1/Interface$2.class
Normal file
BIN
bin/Application1/Interface$3.class
Normal file
BIN
bin/Application1/Interface.class
Normal file
BIN
bin/Application1/Main.class
Normal file
BIN
bin/Application1/Pages/Page1.class
Normal file
BIN
bin/Application1/Pages/Page10.class
Normal file
BIN
bin/Application1/Pages/Page11$1.class
Normal file
BIN
bin/Application1/Pages/Page11$2.class
Normal file
BIN
bin/Application1/Pages/Page11.class
Normal file
BIN
bin/Application1/Pages/Page2.class
Normal file
BIN
bin/Application1/Pages/Page3$1.class
Normal file
BIN
bin/Application1/Pages/Page3.class
Normal file
BIN
bin/Application1/Pages/Page4.class
Normal file
BIN
bin/Application1/Pages/Page5$1.class
Normal file
BIN
bin/Application1/Pages/Page5.class
Normal file
BIN
bin/Application1/Pages/Page6$1.class
Normal file
BIN
bin/Application1/Pages/Page6$2.class
Normal file
BIN
bin/Application1/Pages/Page6.class
Normal file
BIN
bin/Application1/Pages/Page7$1.class
Normal file
BIN
bin/Application1/Pages/Page7$2.class
Normal file
BIN
bin/Application1/Pages/Page7$3.class
Normal file
BIN
bin/Application1/Pages/Page7$4.class
Normal file
BIN
bin/Application1/Pages/Page7$5.class
Normal file
BIN
bin/Application1/Pages/Page7.class
Normal file
BIN
bin/Application1/Pages/Page8.class
Normal file
BIN
bin/Application1/Pages/Page9.class
Normal file
BIN
bin/Application1/PathVar.class
Normal file
BIN
bin/Application1/TextPanel.class
Normal file
BIN
bin/Application1/Title.class
Normal file
37
src/Application1/ImagePanel.java
Normal file
|
@ -0,0 +1,37 @@
|
|||
package Application1;
|
||||
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Image;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
public class ImagePanel extends JPanel {
|
||||
private int TailleImageX;
|
||||
private int TailleImageY;
|
||||
private Image Img;
|
||||
|
||||
public ImagePanel( String path) {
|
||||
|
||||
try {
|
||||
|
||||
Img = ImageIO.read(new File(path));
|
||||
TailleImageY = Img.getHeight(null);
|
||||
TailleImageX = Img.getWidth(null);
|
||||
|
||||
|
||||
}
|
||||
catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public void paintComponent(Graphics g) {
|
||||
g.drawImage(this.Img, 0, 0,this.getWidth(),this.getHeight(),0,0,TailleImageX,TailleImageY, null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
208
src/Application1/Interface.java
Normal file
|
@ -0,0 +1,208 @@
|
|||
package Application1;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.CardLayout;
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.FlowLayout;
|
||||
import java.awt.Font;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Image;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.swing.BorderFactory;
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.Border;
|
||||
import javax.swing.border.EmptyBorder;
|
||||
import javax.swing.border.EtchedBorder;
|
||||
|
||||
import Application1.Pages.Page1;
|
||||
import Application1.Pages.Page10;
|
||||
import Application1.Pages.Page11;
|
||||
import Application1.Pages.Page2;
|
||||
import Application1.Pages.Page3;
|
||||
import Application1.Pages.Page4;
|
||||
import Application1.Pages.Page5;
|
||||
import Application1.Pages.Page6;
|
||||
import Application1.Pages.Page7;
|
||||
import Application1.Pages.Page8;
|
||||
import Application1.Pages.Page9;
|
||||
|
||||
public class Interface extends JFrame {
|
||||
//Initialisation des objets
|
||||
private JPanel conteneur;
|
||||
private JPanel conteneurBouton;
|
||||
private JButton boutonRev;
|
||||
private JButton boutonSuiv;
|
||||
private JButton boutonFinInstall;
|
||||
private Title conteneurTitre;
|
||||
private CardLayout cardLayout;
|
||||
private String[] listContent = {"CARD_1","CARD_2","CARD_3","CARD_4","CARD_5","CARD_6","CARD_7","CARD_8","CARD_9","CARD_10","CARD_11","CARD_12"};
|
||||
|
||||
|
||||
|
||||
|
||||
//Fonction necessaire pour le lancement
|
||||
public void Start() {
|
||||
|
||||
|
||||
//Création des objets
|
||||
conteneur = new JPanel();
|
||||
conteneurTitre = new Title();
|
||||
conteneurBouton = new JPanel();
|
||||
|
||||
|
||||
Font f = new Font("Century", Font.BOLD, 15);
|
||||
|
||||
boutonRev = new JButton("Précédent");
|
||||
boutonRev.setFont(f);
|
||||
boutonRev.setForeground(Color.BLACK);
|
||||
boutonRev.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
boutonSuiv = new JButton("Suivant");
|
||||
boutonSuiv.setFont(f);
|
||||
boutonSuiv.setForeground(Color.BLACK);
|
||||
boutonSuiv.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
boutonFinInstall = new JButton("Lancer VR");
|
||||
boutonFinInstall.setFont(f);
|
||||
boutonFinInstall.setForeground(Color.BLACK);
|
||||
boutonFinInstall.setBackground(Color.LIGHT_GRAY);
|
||||
//SetUp de la fenetre
|
||||
this.setSize(1200,900);
|
||||
this.setLocationRelativeTo(null); //On le garde centrée
|
||||
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //Pour réellement fermer la fenetre
|
||||
this.dispose();
|
||||
this.setUndecorated(false);
|
||||
conteneur.setPreferredSize(new Dimension(1100,640));
|
||||
conteneurBouton.setPreferredSize(new Dimension(1200,50));
|
||||
conteneurTitre.setBorder(new EmptyBorder(10,10,10,10));
|
||||
|
||||
|
||||
}
|
||||
|
||||
//Fonction Permettant de parametrer l'interface
|
||||
public void SetupInterface () {
|
||||
cardLayout = new CardLayout();
|
||||
Border border = BorderFactory.createEtchedBorder(EtchedBorder.RAISED);
|
||||
Border blackline = BorderFactory.createLineBorder(Color.black);
|
||||
Border compound;
|
||||
compound = BorderFactory.createCompoundBorder(border, blackline);
|
||||
|
||||
//Création des pages
|
||||
ImagePanel card1 = new ImagePanel("Images/Logos/Logo_INSA.png");
|
||||
Page1 card2 = new Page1(15,compound);
|
||||
Page2 card3 = new Page2(15,compound);
|
||||
Page3 card4 = new Page3(15,compound);
|
||||
Page4 card5 = new Page4 (15,compound);
|
||||
Page5 card6 = new Page5(15,compound);
|
||||
Page6 card7 = new Page6(15,compound);
|
||||
Page7 card8 = new Page7(15,compound);
|
||||
Page8 card9 = new Page8(15,compound);
|
||||
Page9 card10 = new Page9(15,compound);
|
||||
Page10 card11 = new Page10(15,compound);
|
||||
Page11 card12 = new Page11(15,compound);
|
||||
|
||||
//Mise en place des espaces
|
||||
cardLayout.setHgap(10);
|
||||
cardLayout.setVgap(10);
|
||||
|
||||
//SetUp des conteneurs
|
||||
conteneurBouton.setBackground(Color.WHITE);
|
||||
conteneurBouton.add(boutonRev);
|
||||
conteneurBouton.add(boutonSuiv);
|
||||
conteneurBouton.add(boutonFinInstall);
|
||||
conteneur.setBackground(Color.white);
|
||||
conteneur.setLayout(cardLayout);
|
||||
conteneur.add(card1,listContent[0]);
|
||||
conteneur.add(card2,listContent[1]);
|
||||
conteneur.add(card3,listContent[2]);
|
||||
conteneur.add(card4,listContent[3]);
|
||||
conteneur.add(card5,listContent[4]);
|
||||
conteneur.add(card6,listContent[5]);
|
||||
conteneur.add(card12,listContent[6]);
|
||||
conteneur.add(card7,listContent[7]);
|
||||
conteneur.add(card8,listContent[8]);
|
||||
conteneur.add(card9,listContent[9]);
|
||||
conteneur.add(card10,listContent[10]);
|
||||
conteneur.add(card11,listContent[11]);
|
||||
|
||||
|
||||
}
|
||||
public void SetupListeners() {
|
||||
|
||||
// Gestion de l'action des Boutons
|
||||
//Bouton Suivant
|
||||
boutonSuiv.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
cardLayout.next(conteneur);
|
||||
|
||||
}
|
||||
});
|
||||
//Bouton Précedent
|
||||
boutonRev.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
cardLayout.previous(conteneur);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
//Bouton LancerVR
|
||||
boutonFinInstall.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
cardLayout.show(conteneur,"CARD_9");
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
public void paintComponent(Graphics g) {
|
||||
try {
|
||||
Image img1 = ImageIO.read(new File("Images/Logos/Logo_INSA.png"));
|
||||
Image img2 = ImageIO.read(new File("Images/Logos/Logo_ISDAT.png"));
|
||||
Image img3 = ImageIO.read(new File("Nom_cours.png"));
|
||||
g.drawImage(img1, 20, 10,260,130,0,0,354,142, conteneurTitre);
|
||||
g.drawImage(img2, 200, 10,370,100,0,0,711,352, conteneurTitre);
|
||||
g.drawImage(img3, conteneurTitre.getWidth() - 250, 10, conteneurTitre.getWidth() - 12, 100, 0, 0, 260, 63, conteneurTitre);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public void Display() {
|
||||
//Affichage
|
||||
this.getContentPane().add(conteneurBouton, BorderLayout.SOUTH);
|
||||
this.getContentPane().add(conteneur, BorderLayout.CENTER);
|
||||
this.getContentPane().add(conteneurTitre,BorderLayout.NORTH);
|
||||
this.setVisible(true);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
33
src/Application1/Main.java
Normal file
|
@ -0,0 +1,33 @@
|
|||
package Application1;
|
||||
|
||||
import java.awt.Desktop;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
Interface Window = new Interface();
|
||||
Window.Start();
|
||||
Window.SetupInterface();
|
||||
Window.SetupListeners();
|
||||
|
||||
Window.Display();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
105
src/Application1/Pages/Page1.java
Normal file
|
@ -0,0 +1,105 @@
|
|||
package Application1.Pages;
|
||||
|
||||
import java.awt.GridLayout;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.Border;
|
||||
|
||||
import Application1.TextPanel;
|
||||
|
||||
public class Page1 extends JPanel {
|
||||
|
||||
public Page1(int taillePolice, Border bordure){
|
||||
//Initialitsation
|
||||
TextPanel cadran1;
|
||||
TextPanel cadran2;
|
||||
TextPanel cadran3;
|
||||
TextPanel cadran4;
|
||||
GridLayout g= new GridLayout(2,2);
|
||||
g.setHgap(10);
|
||||
g.setVgap(10);
|
||||
setLayout(g);
|
||||
|
||||
|
||||
//Cadran 1
|
||||
cadran1 = new TextPanel(taillePolice);
|
||||
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Du BIM à la Réalité Virtuelle! \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Projet issu d'une collaboration entre l'INSA et l'isdaT. \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" A partir d'une simulation BIM réalisée par les élèves de l'ISDAT, \n");
|
||||
cadran1.AjouterParagraph(" ceux de l'INSA ont mis au point une application permettant \n");
|
||||
cadran1.AjouterParagraph(" de visualiser un environnement virtuel dépendant \n");
|
||||
cadran1.AjouterParagraph(" de la maquette BIM, afin d'intéragir avec \n");
|
||||
cadran1.AjouterParagraph(" lui au sein de cette réalité virtuelle. \n");
|
||||
|
||||
cadran1.setEditable(false);
|
||||
cadran1.setBorder(bordure);
|
||||
|
||||
|
||||
//Cadran 2
|
||||
cadran2 = new TextPanel(taillePolice);
|
||||
|
||||
cadran2.AjouterParagraph(" \n");
|
||||
cadran2.AjouterParagraph(" Participants à la réalisation du projet : \n");
|
||||
cadran2.AjouterParagraph(" \n");
|
||||
cadran2.AjouterParagraph(" Elèves de l'INSA : Elèves de l'isdaT : Tuteurs : \n");
|
||||
cadran2.AjouterParagraph(" \n");
|
||||
cadran2.AjouterParagraph(" AMOUR Chadi BRUGEL Lise BRUYERE Nathalie \n");
|
||||
cadran2.AjouterParagraph(" BERRADA El Ghali OSELE Jérémie MONTEIL Thierry \n");
|
||||
cadran2.AjouterParagraph(" BERTA Pauline \n");
|
||||
cadran2.AjouterParagraph(" BOUOULID Ilias \n");
|
||||
cadran2.AjouterParagraph(" NUNES Joao \n");
|
||||
cadran2.AjouterParagraph(" POLONI Laura \n");
|
||||
cadran2.AjouterParagraph(" \n");
|
||||
cadran2.setEditable(false);
|
||||
cadran2.setBorder(bordure);
|
||||
|
||||
|
||||
//Cadran 3
|
||||
|
||||
cadran3 = new TextPanel(taillePolice);
|
||||
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.AjouterParagraph(" Logiciels nécessaires à la bonne réalisation du projet : \n");
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.AjouterParagraph(" Revit \n");
|
||||
cadran3.AjouterParagraph(" GrassHopper (avec son plugin) \n");
|
||||
cadran3.AjouterParagraph(" Trinus \n");
|
||||
cadran3.AjouterParagraph(" GlovePie \n");
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.AjouterParagraph(" Nous vous expliquerons par la suite quels sont les logiciels \n");
|
||||
cadran3.AjouterParagraph(" prérequis, et quels sont ceux dont nous allons guider l'installation. \n");
|
||||
cadran3.setEditable(false);
|
||||
cadran3.setBorder(bordure);
|
||||
|
||||
|
||||
//Cadran 4
|
||||
|
||||
cadran4 = new TextPanel(taillePolice);
|
||||
|
||||
cadran4.AjouterParagraph(" \n");
|
||||
cadran4.AjouterParagraph(" Matériel nécessaire à la bonne réalisation du projet : \n");
|
||||
cadran4.AjouterParagraph(" \n");
|
||||
cadran4.AjouterParagraph(" Wiimote \n");
|
||||
cadran4.AjouterParagraph(" Sensor bar \n");
|
||||
cadran4.AjouterParagraph(" Masque \n");
|
||||
cadran4.AjouterParagraph(" Smartphone \n");
|
||||
cadran4.AjouterParagraph(" \n");
|
||||
cadran4.AjouterParagraph(" Nous vous expliquerons par la suite quel sera l'utilisation \n");
|
||||
cadran4.AjouterParagraph(" de chaque matériel et comment les mettre en place. \n");
|
||||
cadran4.setEditable(false);
|
||||
cadran4.setBorder(bordure);
|
||||
|
||||
//Ajouter les cadrans
|
||||
add(cadran1);
|
||||
add(cadran2);
|
||||
add(cadran3);
|
||||
add(cadran4);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
66
src/Application1/Pages/Page10.java
Normal file
|
@ -0,0 +1,66 @@
|
|||
package Application1.Pages;
|
||||
|
||||
|
||||
|
||||
import java.awt.GridLayout;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.Border;
|
||||
|
||||
import Application1.ImagePanel;
|
||||
import Application1.TextPanel;
|
||||
|
||||
public class Page10 extends JPanel {
|
||||
public Page10(int taillePolice, Border bordure){
|
||||
TextPanel cadran3;
|
||||
ImagePanel cadran4;
|
||||
|
||||
GridLayout g= new GridLayout(2,2);
|
||||
g.setHgap(10);
|
||||
g.setVgap(10);
|
||||
setLayout(g);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//Cadran 3
|
||||
cadran3 = new TextPanel(taillePolice);
|
||||
|
||||
cadran3.setBorder(bordure);
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.AjouterParagraph(" Dans Grasshopper, faites File->Open Document->...\n");
|
||||
cadran3.AjouterParagraph(" L'objet Paravent6 est l'objet qu'on a choisi d'utiliser comme exemple \n");
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.AjouterParagraph(" Cliquer sur le bouton Recompute de l'onglet Rhinocéros de Revit pour afficher l'objet \n");
|
||||
cadran3.AjouterParagraph(" Cliquer sur l'objet qui apparaît \n");
|
||||
cadran3.AjouterParagraph(" Parmi les paramètres de l'objet proposés dans la bande (properties, other), \n");
|
||||
cadran3.AjouterParagraph(" L'utilisateur peut changer les paramètres en écrivant la valeur souhaitée, ou en cliquant sur les petites flèches \n");
|
||||
cadran3.AjouterParagraph(" A chaque changement de paramètre, il faut appuyer sur le bouton Recompute de l'onglet Rhinocéros \n");
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.setEditable(false);
|
||||
|
||||
|
||||
//Cadran 4
|
||||
cadran4 = new ImagePanel("Images/Tuto_Revit/2.png");
|
||||
cadran4.setBorder(bordure);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//Ajouter les cadrans
|
||||
add(cadran3);
|
||||
add(cadran4);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
129
src/Application1/Pages/Page11.java
Normal file
|
@ -0,0 +1,129 @@
|
|||
package Application1.Pages;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Desktop;
|
||||
import java.awt.Font;
|
||||
import java.awt.GridLayout;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JComponent;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.Border;
|
||||
|
||||
import Application1.ImagePanel;
|
||||
import Application1.TextPanel;
|
||||
|
||||
public class Page11 extends JPanel {
|
||||
public Page11(int taillePolice, Border bordure){
|
||||
|
||||
//Initialitsation
|
||||
JPanel cadran1 = new JPanel();
|
||||
TextPanel cadran1_1;
|
||||
TextPanel cadran2_1;
|
||||
JPanel cadran2 = new JPanel();
|
||||
ImagePanel cadran3;
|
||||
ImagePanel cadran4;
|
||||
TextPanel Texte;
|
||||
|
||||
JButton BoutonInstallationWIP = new JButton("START INSTALLATION Rhino WIP");
|
||||
Font f = new Font("Serif", Font.BOLD, 45);
|
||||
|
||||
BoutonInstallationWIP.setFont(f);
|
||||
BoutonInstallationWIP.setForeground(Color.WHITE);
|
||||
BoutonInstallationWIP.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
GridLayout g= new GridLayout(2,2);
|
||||
GridLayout cad1 = new GridLayout(2,1);
|
||||
g.setHgap(10);
|
||||
g.setVgap(10);
|
||||
setLayout(g);
|
||||
|
||||
cadran1.setLayout(cad1);
|
||||
|
||||
cadran1_1 = new TextPanel(taillePolice);
|
||||
cadran1_1.setBorder(bordure);
|
||||
|
||||
cadran1_1.AjouterParagraph(" \n");
|
||||
cadran1_1.AjouterParagraph(" L'installation du bouton Rhino WIP est nécessaire pour le bon \n");
|
||||
cadran1_1.AjouterParagraph(" fonctionnement de notre système. \n");
|
||||
cadran1_1.AjouterParagraph(" Ce bouton va permettre de faire fonctionner une version bêta de rhino \n" );
|
||||
cadran1_1.AjouterParagraph(" START INSTALLATION va lancer automatiquement l'installation du logiciel. \n");
|
||||
cadran1_1.AjouterParagraph(" Vous aurez probablement besoin de créer un compte Rhino. C'est possible \n");
|
||||
cadran1_1.AjouterParagraph(" que vous ayez besoin de créer un compte en suivant le lien suivant. \n");
|
||||
cadran1_1.AjouterParagraph(" \n");
|
||||
cadran1_1.setEditable(false);
|
||||
|
||||
cadran1.add(cadran1_1);
|
||||
cadran1.add(BoutonInstallationWIP);
|
||||
|
||||
add(cadran1);
|
||||
|
||||
//Bouton numero 2 pour Rhino inside Revit
|
||||
|
||||
JButton BoutonInstallationRIV = new JButton("START INSTALLATION Rhino Inside Revit");
|
||||
|
||||
|
||||
BoutonInstallationRIV.setFont(f);
|
||||
BoutonInstallationRIV.setForeground(Color.WHITE);
|
||||
BoutonInstallationRIV.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
|
||||
cadran2.setLayout(cad1);
|
||||
|
||||
cadran2_1 = new TextPanel(taillePolice);
|
||||
cadran2_1.setBorder(bordure);
|
||||
|
||||
cadran2_1.AjouterParagraph(" \n");
|
||||
cadran2_1.AjouterParagraph(" L'installation du plugin Rhino.inside.revit pour réaliser la connexion entre \n");
|
||||
cadran2_1.AjouterParagraph(" la définition de l'objet que l'ou veux ajouter et notre projet BIM actuel \n");
|
||||
cadran2_1.AjouterParagraph(" Ce plugin va permettre de créer un onglet supplémentaire sur Revit (Rhinocéros) \n" );
|
||||
cadran2_1.AjouterParagraph(" ce qui ajoute des fonctionnalités supplémentaires utilisables \n" );
|
||||
cadran2_1.AjouterParagraph(" START INSTALLATION va lancer automatiquement l'installation du logiciel. \n");
|
||||
cadran2_1.AjouterParagraph(" \n");
|
||||
cadran2_1.setEditable(false);
|
||||
|
||||
cadran2.add(cadran2_1);
|
||||
cadran2.add(BoutonInstallationRIV);
|
||||
|
||||
add(cadran2);
|
||||
|
||||
BoutonInstallationWIP.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
|
||||
|
||||
Runtime rt = Runtime.getRuntime();
|
||||
try {
|
||||
rt.exec(new String[] {"External_Software/Rhino_Install.exe"});
|
||||
|
||||
}
|
||||
catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
BoutonInstallationRIV.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
Desktop desk = Desktop.getDesktop();
|
||||
File file = new File("External_Software/RhinoInside.Revit.msi");
|
||||
//Runtime rt = Runtime.getRuntime();
|
||||
try {
|
||||
//rt.exec(new String[] {"msiexec /a \"\\External_Software/RhinoInside.Revit.msi\""});
|
||||
desk.open(file);
|
||||
|
||||
//"msiexec \"\\IE8fix.msi\""
|
||||
|
||||
}
|
||||
catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
102
src/Application1/Pages/Page2.java
Normal file
|
@ -0,0 +1,102 @@
|
|||
package Application1.Pages;
|
||||
|
||||
import java.awt.GridLayout;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import javax.swing.border.*;
|
||||
|
||||
import Application1.TextPanel;
|
||||
|
||||
public class Page2 extends JPanel {
|
||||
|
||||
public Page2(int taillePolice, Border bordure){
|
||||
//Initialitsation
|
||||
TextPanel cadran1;
|
||||
TextPanel cadran2;
|
||||
TextPanel cadran3;
|
||||
TextPanel cadran4;
|
||||
GridLayout g= new GridLayout(2,2);
|
||||
g.setHgap(10);
|
||||
g.setVgap(10);
|
||||
setLayout(g);
|
||||
|
||||
//Cadran 1
|
||||
|
||||
cadran1 = new TextPanel(taillePolice);
|
||||
cadran1.setBorder(bordure);
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Pour le bon fonctionnement du système, il faut va falloir \n");
|
||||
cadran1.AjouterParagraph(" que vous installiez au préalable deux logiciels.\n");
|
||||
cadran1.AjouterParagraph(" * Revit (Développement d'Objets et de Structures 3D) \n");
|
||||
cadran1.AjouterParagraph(" * Rhino.Inside.Revit (Outil utilisé en Association avec Revit avec le plugin Rhino WIP)\n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Vérifier bien que la connexion bluetooth fonctionne sur votre machine, \n");
|
||||
cadran1.AjouterParagraph(" elle sera nécessaire pour connecter votre wiimote à l'ordinateur. \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Lorsque tous les pré-requis précédent sont installés et vérifiés \n");
|
||||
cadran1.AjouterParagraph(" vous pouvez passez à la suite!\n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.setEditable(false);
|
||||
|
||||
//Cadran 2
|
||||
|
||||
cadran2 = new TextPanel(taillePolice);
|
||||
|
||||
cadran2.setBorder(bordure);
|
||||
cadran2.AjouterParagraph(" \n");
|
||||
cadran2.AjouterParagraph(" Avant de pouvoir utiliser l'application il reste \n");
|
||||
cadran2.AjouterParagraph(" quelques étapes à parcourir. \n");
|
||||
cadran2.AjouterParagraph(" \n");
|
||||
cadran2.AjouterParagraph(" Nous allons vous guider dans l'installation de deux derniers \n");
|
||||
cadran2.AjouterParagraph(" logiciels, tels que : \n");
|
||||
cadran2.AjouterParagraph(" * GlovePie (Emulateur de Clavier et Souris) \n");
|
||||
cadran2.AjouterParagraph(" * Trinus (Convertisseur d'Images Classiques en Images au format VR) \n");
|
||||
cadran2.AjouterParagraph(" \n");
|
||||
cadran2.AjouterParagraph(" Sur la page suivante les démarches vous sont expliquées pas-à-pas! \n");
|
||||
cadran2.AjouterParagraph(" \n");
|
||||
cadran2.setEditable(false);
|
||||
|
||||
//Cadran 3
|
||||
cadran3 = new TextPanel(taillePolice);
|
||||
|
||||
cadran3.setBorder(bordure);
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.AjouterParagraph(" Vous pouvez remarquer plusieurs boutons à votre disposition ci-dessous. \n");
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.AjouterParagraph(" Vous avez la possibilité à tout moment de retourner sur la page \n");
|
||||
cadran3.AjouterParagraph(" précédente avec le bouton PRECEDENT. \n");
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.AjouterParagraph(" De la même manière, vous avez la possibilité de passer à la \n");
|
||||
cadran3.AjouterParagraph(" suivante avec le bouton SUIVANT.\n");
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.setEditable(false);
|
||||
|
||||
//Cadran 4
|
||||
|
||||
cadran4 = new TextPanel(taillePolice);
|
||||
|
||||
cadran4.setBorder(bordure);
|
||||
cadran4.AjouterParagraph(" \n");
|
||||
cadran4.AjouterParagraph(" Le bouton LANCER VR est là pour vous permettre de passer en un \n");
|
||||
cadran4.AjouterParagraph(" clic toute la partie Installation des logiciels GlovePie et Trinus.\n");
|
||||
cadran4.AjouterParagraph(" \n");
|
||||
cadran4.AjouterParagraph(" ! Si vous avez déjà réaliser les installations sur votre machine \n");
|
||||
cadran4.AjouterParagraph(" lors d'une précédente utilisation, il n'est pas nécessaire de \n");
|
||||
cadran4.AjouterParagraph(" recommencer ! \n");
|
||||
cadran4.AjouterParagraph(" \n");
|
||||
cadran4.AjouterParagraph(" ! Cliquer directement sur LANCER VR ! \n");
|
||||
cadran4.AjouterParagraph(" \n");
|
||||
cadran4.setEditable(false);
|
||||
|
||||
|
||||
//Ajouter les cadrans
|
||||
add(cadran1);
|
||||
add(cadran2);
|
||||
add(cadran3);
|
||||
add(cadran4);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
97
src/Application1/Pages/Page3.java
Normal file
|
@ -0,0 +1,97 @@
|
|||
package Application1.Pages;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
import java.awt.GridLayout;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.*;
|
||||
|
||||
import Application1.ImagePanel;
|
||||
import Application1.TextPanel;
|
||||
|
||||
public class Page3 extends JPanel {
|
||||
public Page3(int taillePolice, Border bordure){
|
||||
|
||||
//Initialitsation
|
||||
JPanel cadran1 = new JPanel();
|
||||
TextPanel cadran1_1;
|
||||
ImagePanel cadran2;
|
||||
ImagePanel cadran3;
|
||||
ImagePanel cadran4;
|
||||
TextPanel Texte;
|
||||
|
||||
JButton BoutonInstallationTrinus = new JButton("START INSTALLATION");
|
||||
Font f = new Font("Serif", Font.BOLD, 45);
|
||||
|
||||
BoutonInstallationTrinus.setFont(f);
|
||||
BoutonInstallationTrinus.setForeground(Color.WHITE);
|
||||
BoutonInstallationTrinus.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
GridLayout g= new GridLayout(2,2);
|
||||
GridLayout cad1 = new GridLayout(2,1);
|
||||
g.setHgap(10);
|
||||
g.setVgap(10);
|
||||
setLayout(g);
|
||||
|
||||
|
||||
//Cadran 1
|
||||
|
||||
cadran1.setLayout(cad1);
|
||||
|
||||
cadran1_1 = new TextPanel(taillePolice);
|
||||
cadran1_1.setBorder(bordure);
|
||||
|
||||
cadran1_1.AjouterParagraph(" \n");
|
||||
cadran1_1.AjouterParagraph(" L'installation du logiciel Trinus est nécessaire pour le bon \n");
|
||||
cadran1_1.AjouterParagraph(" fonctionnement de notre système. \n");
|
||||
cadran1_1.AjouterParagraph(" START INSTALLATION va lancer automatiquement l'installation du logiciel. \n");
|
||||
cadran1_1.AjouterParagraph(" Vous devez accepter et suivre les étapes décrites sur les images suivantes. \n");
|
||||
cadran1_1.AjouterParagraph(" \n");
|
||||
cadran1_1.setEditable(false);
|
||||
|
||||
cadran1.add(cadran1_1);
|
||||
cadran1.add(BoutonInstallationTrinus);
|
||||
|
||||
|
||||
//Cadran 2
|
||||
cadran2 = new ImagePanel("Images/Install_Trinus/1.png");
|
||||
cadran2.setBorder(bordure);
|
||||
|
||||
//Cadran3
|
||||
cadran3 = new ImagePanel("Images/Install_Trinus/2.png");
|
||||
cadran3.setBorder(bordure);
|
||||
|
||||
//Cadran 4
|
||||
cadran4 = new ImagePanel("Images/Install_Trinus/3.png");
|
||||
cadran4.setBorder(bordure);
|
||||
|
||||
//Ajouter les cadrans
|
||||
add(cadran1);
|
||||
add(cadran2);
|
||||
add(cadran3);
|
||||
add(cadran4);
|
||||
|
||||
BoutonInstallationTrinus.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
|
||||
|
||||
Runtime rt = Runtime.getRuntime();
|
||||
try {
|
||||
rt.exec(new String[] {"External_Software/TGsetup.exe"});
|
||||
|
||||
}
|
||||
catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
49
src/Application1/Pages/Page4.java
Normal file
|
@ -0,0 +1,49 @@
|
|||
package Application1.Pages;
|
||||
|
||||
import java.awt.GridLayout;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.*;
|
||||
|
||||
import Application1.ImagePanel;
|
||||
|
||||
public class Page4 extends JPanel {
|
||||
|
||||
public Page4(int taillePolice, Border bordure){
|
||||
//Initialitsation
|
||||
ImagePanel cadran1;
|
||||
ImagePanel cadran2;
|
||||
ImagePanel cadran3;
|
||||
ImagePanel cadran4;
|
||||
GridLayout g= new GridLayout(2,2);
|
||||
g.setHgap(10);
|
||||
g.setVgap(10);
|
||||
setLayout(g);
|
||||
|
||||
//Cadran 1
|
||||
cadran1 = new ImagePanel("Images/Install_Trinus/4.png");
|
||||
cadran1.setBorder(bordure);
|
||||
|
||||
//Cadran 2
|
||||
cadran2 = new ImagePanel("Images/Install_Trinus/5.png");
|
||||
cadran2.setBorder(bordure);
|
||||
|
||||
//Cadran 3
|
||||
cadran3 = new ImagePanel("Images/Install_Trinus/6.png");
|
||||
cadran3.setBorder(bordure);
|
||||
|
||||
//Cadran 4
|
||||
cadran4 = new ImagePanel("Images/Install_Trinus/7.png");
|
||||
cadran4.setBorder(bordure);
|
||||
|
||||
|
||||
//Ajout des cadrans
|
||||
add(cadran1);
|
||||
add(cadran2);
|
||||
add(cadran3);
|
||||
add(cadran4);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
106
src/Application1/Pages/Page5.java
Normal file
|
@ -0,0 +1,106 @@
|
|||
package Application1.Pages;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
import java.awt.GridLayout;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.*;
|
||||
|
||||
import Application1.ImagePanel;
|
||||
import Application1.TextPanel;
|
||||
|
||||
public class Page5 extends JPanel{
|
||||
|
||||
public Page5(int taillePolice, Border bordure){
|
||||
//Initialitsation
|
||||
JPanel cadran1 = new JPanel();
|
||||
TextPanel cadran1_1;
|
||||
ImagePanel cadran2;
|
||||
ImagePanel cadran3;
|
||||
ImagePanel cadran4;
|
||||
|
||||
|
||||
JButton BoutonInstallationManette = new JButton("START INSTALLATION");
|
||||
Font f = new Font("Serif", Font.BOLD, 45);
|
||||
|
||||
BoutonInstallationManette.setFont(f);
|
||||
BoutonInstallationManette.setForeground(Color.WHITE);
|
||||
BoutonInstallationManette.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
GridLayout g= new GridLayout(2,2);
|
||||
GridLayout cad1 = new GridLayout(2,1);
|
||||
g.setHgap(10);
|
||||
g.setVgap(10);
|
||||
setLayout(g);
|
||||
|
||||
//Cadran 1
|
||||
|
||||
cadran1.setLayout(cad1);
|
||||
cadran1.setBorder(bordure);
|
||||
|
||||
cadran1_1 = new TextPanel(taillePolice);
|
||||
|
||||
cadran1_1.setBorder(bordure);
|
||||
|
||||
cadran1_1.AjouterParagraph(" \n");
|
||||
cadran1_1.AjouterParagraph(" Pour finir, nous devons installer la manette Wiimote. \n");
|
||||
cadran1_1.AjouterParagraph(" Pour cela nous allons l'ajouter en tant que périphérique Bluetooth. \n");
|
||||
cadran1_1.AjouterParagraph(" Cliquer sur START INSTALLATION, le panneau de configuration va apparaitre.\n");
|
||||
cadran1_1.AjouterParagraph(" Suivez les étapes d'installation avec les images suivantes. \n");
|
||||
cadran1_1.AjouterParagraph(" \n");
|
||||
|
||||
cadran1_1.setEditable(false);
|
||||
|
||||
cadran1.add(cadran1_1);
|
||||
cadran1.add(BoutonInstallationManette);
|
||||
|
||||
|
||||
//Cadran 2
|
||||
cadran2 = new ImagePanel("Images/Install_Wiimote/1.png");
|
||||
cadran2.setBorder(bordure);
|
||||
|
||||
|
||||
//Cadran 3
|
||||
cadran3 = new ImagePanel("Images/Install_Wiimote/3.png");
|
||||
cadran3.setBorder(bordure);
|
||||
|
||||
|
||||
//Cadran 4
|
||||
cadran4 = new ImagePanel("Images/Install_Wiimote/4.png");
|
||||
cadran4.setBorder(bordure);
|
||||
|
||||
|
||||
//Ajout des cadrans
|
||||
add(cadran1);
|
||||
add(cadran2);
|
||||
add(cadran3);
|
||||
add(cadran4);
|
||||
|
||||
|
||||
//BoutonInstallationManette.addActionListener(new ActionListener() {});
|
||||
|
||||
|
||||
BoutonInstallationManette.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
//Lancement du panneau de configuration
|
||||
|
||||
Runtime rt = Runtime.getRuntime();
|
||||
try {
|
||||
rt.exec(new String[] {"cmd.exe","/c","start","control"});
|
||||
|
||||
}
|
||||
catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
}
|
104
src/Application1/Pages/Page6.java
Normal file
|
@ -0,0 +1,104 @@
|
|||
package Application1.Pages;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
import java.awt.GridLayout;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.*;
|
||||
|
||||
import Application1.PathVar;
|
||||
import Application1.TextPanel;
|
||||
|
||||
|
||||
public class Page6 extends JPanel {
|
||||
|
||||
public Page6(int taillePolice, Border bordure) {
|
||||
//Installation
|
||||
TextPanel cadran1;
|
||||
TextPanel cadran2;
|
||||
TextPanel cadran5;
|
||||
JPanel cadran3;
|
||||
JPanel cadran4;
|
||||
JPanel cadran6;
|
||||
JButton BoutonVarEnvTrinus;
|
||||
JButton BoutonVarEnvRevit;
|
||||
JButton BoutonVarEnvWIP;
|
||||
Font f = new Font("Serif", Font.BOLD, 15);
|
||||
BoutonVarEnvTrinus = new JButton(" Indiquer où se trouve le logiciel Trinus");
|
||||
BoutonVarEnvRevit = new JButton(" Indiquer où se trouve le logiciel de CAD");
|
||||
BoutonVarEnvWIP = new JButton(" Indiquer où se trouve le logiciel Rhino WIP");
|
||||
BoutonVarEnvRevit.setFont(f);
|
||||
BoutonVarEnvRevit.setForeground(Color.BLACK);
|
||||
BoutonVarEnvRevit.setBackground(Color.LIGHT_GRAY);
|
||||
BoutonVarEnvTrinus.setFont(f);
|
||||
BoutonVarEnvTrinus.setForeground(Color.BLACK);
|
||||
BoutonVarEnvTrinus.setBackground(Color.LIGHT_GRAY);
|
||||
BoutonVarEnvWIP.setFont(f);
|
||||
BoutonVarEnvWIP.setForeground(Color.BLACK);
|
||||
BoutonVarEnvWIP.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
GridLayout grid = new GridLayout(2,2);
|
||||
grid.setHgap(10);
|
||||
grid.setVgap(10);
|
||||
setLayout(grid);
|
||||
|
||||
|
||||
//Cadran 1
|
||||
cadran1 = new TextPanel(taillePolice);
|
||||
cadran1.AjouterParagraph(" Veuillez indiquer ou vous avez installé le logiciel Trinus. \n");
|
||||
cadran1.AjouterParagraph(" Vous pouvez selectionner directement le fichier de lancement présent sur votre bureau.\n");
|
||||
cadran1.AjouterParagraph(" Ou alors donner le chemin du logiciel dans la racine. Typiquement le logiciel s'installe dans le dossier \"Program Files\"");
|
||||
cadran1.setEditable(false);
|
||||
cadran1.setBorder(bordure);
|
||||
// Cadran 2
|
||||
cadran2 = new TextPanel(taillePolice);
|
||||
cadran2.AjouterParagraph(" Veuillez indiquer ou vous avez installé le logiciel de CAD. \n De préferance Revit, puisque notre système est optimisé pour l'utilisation de Revit.\n ");
|
||||
cadran2.AjouterParagraph(" Vous pouvez selectionner directement le fichier de lancement présent sur votre bureau.\n");
|
||||
cadran2.AjouterParagraph(" Ou alors donner le chemin du logiciel dans la racine. Typiquement le logiciel s'installe dans le dossier \"Program Files\"");
|
||||
cadran2.setEditable(false);
|
||||
cadran2.setBorder(bordure);
|
||||
|
||||
//Cadran 3
|
||||
cadran3 = new JPanel();
|
||||
|
||||
cadran3.add(BoutonVarEnvTrinus);
|
||||
|
||||
//Cadran 4
|
||||
cadran4 = new JPanel();
|
||||
|
||||
cadran4.add(BoutonVarEnvRevit);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//Ajout des cadran
|
||||
add(cadran1);
|
||||
add(cadran2);
|
||||
add(cadran3);
|
||||
add(cadran4);
|
||||
|
||||
PathVar pathVar = new PathVar();
|
||||
BoutonVarEnvTrinus.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
pathVar.getPath("Trinus");
|
||||
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
BoutonVarEnvRevit.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
pathVar.getPath("Revit");
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
195
src/Application1/Pages/Page7.java
Normal file
|
@ -0,0 +1,195 @@
|
|||
package Application1.Pages;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Desktop;
|
||||
import java.awt.FlowLayout;
|
||||
import java.awt.Font;
|
||||
import java.awt.GridLayout;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.*;
|
||||
|
||||
import Application1.PathVar;
|
||||
import Application1.TextPanel;
|
||||
|
||||
public class Page7 extends JPanel {
|
||||
public Page7(int taillePolice, Border bordure) {
|
||||
|
||||
|
||||
//Initialitsation
|
||||
PathVar path = new PathVar();
|
||||
TextPanel cadran1;
|
||||
JPanel cadran2;
|
||||
|
||||
Font f = new Font("Serif", Font.BOLD, 15);
|
||||
|
||||
JButton BoutonGlovePie = new JButton("Lancer GLovePie");
|
||||
BoutonGlovePie.setFont(f);
|
||||
BoutonGlovePie.setForeground(Color.BLACK);
|
||||
BoutonGlovePie.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
JButton BoutonTrinus = new JButton("Lancer Trinus");
|
||||
BoutonTrinus.setFont(f);
|
||||
BoutonTrinus.setForeground(Color.BLACK);
|
||||
BoutonTrinus.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
JButton BoutonRevit = new JButton("Lancer Revit");
|
||||
BoutonRevit.setFont(f);
|
||||
BoutonRevit.setForeground(Color.BLACK);
|
||||
BoutonRevit.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
JButton BoutonInternet = new JButton("Lancer AutoDesk View");
|
||||
BoutonInternet.setFont(f);
|
||||
BoutonInternet.setForeground(Color.BLACK);
|
||||
BoutonInternet.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
JButton BoutonClavier = new JButton ("Lancer le clavier Virtuel");
|
||||
BoutonClavier.setFont(f);
|
||||
BoutonClavier.setForeground(Color.BLACK);
|
||||
BoutonClavier.setBackground(Color.LIGHT_GRAY);
|
||||
|
||||
GridLayout grid= new GridLayout(2,2);
|
||||
FlowLayout flow = new FlowLayout();
|
||||
grid.setHgap(10);
|
||||
grid.setVgap(10);
|
||||
setLayout(grid);
|
||||
|
||||
//Cadran 1
|
||||
cadran1 = new TextPanel(taillePolice);
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Le système est prêt à être utilisé! \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Les logiciels suivant sont bien installés sur la machine : \n ");
|
||||
cadran1.AjouterParagraph(" * GlovePie \n");
|
||||
cadran1.AjouterParagraph(" * Trinus \n");
|
||||
cadran1.AjouterParagraph(" La WiiMote est reliée en Bluetooth à l'ordinateur! \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Les différents boutons ci-dessous vous permettent de lancer tous les outils nécessaires. \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.setEditable(false);
|
||||
cadran1.setBorder(bordure);
|
||||
|
||||
//Cadran 2
|
||||
cadran2 = new JPanel();
|
||||
cadran2.setLayout(flow);
|
||||
cadran2.add(BoutonGlovePie);
|
||||
cadran2.add(BoutonTrinus);
|
||||
cadran2.add(BoutonRevit);
|
||||
cadran2.add(BoutonInternet);
|
||||
cadran2.add(BoutonClavier);
|
||||
|
||||
//Gestion Boutons
|
||||
|
||||
BoutonGlovePie.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
//Lancement du panneau de configuration
|
||||
File file = new File("External_Software/Glovepie/WiimoteScripts/WiimoteScript.PIE");
|
||||
java.awt.Desktop desktop = Desktop.getDesktop();
|
||||
|
||||
try {
|
||||
|
||||
desktop.open(file);
|
||||
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
BoutonTrinus.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
try {
|
||||
|
||||
path.readPathFile();
|
||||
File file = new File(path.getPathTrinus());
|
||||
java.awt.Desktop desktop = Desktop.getDesktop();
|
||||
desktop.open(file);
|
||||
} catch (IOException e1) {
|
||||
// TODO Auto-generated catch block
|
||||
e1.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
BoutonRevit.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
try {
|
||||
path.readPathFile();
|
||||
File file = new File(path.getPathRevit());
|
||||
java.awt.Desktop desktop = Desktop.getDesktop();
|
||||
desktop.open(file);
|
||||
} catch (IOException e1) {
|
||||
// TODO Auto-generated catch block
|
||||
e1.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
BoutonInternet.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
//Lancement du panneau de configuration
|
||||
|
||||
Runtime rt = Runtime.getRuntime();
|
||||
try {
|
||||
rt.exec(new String[] {"cmd.exe","/c","start","https://viewer.autodesk.com/"});
|
||||
|
||||
}catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
BoutonClavier.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent event) {
|
||||
//Lancement du panneau de configuration
|
||||
|
||||
Runtime rt = Runtime.getRuntime();
|
||||
try {
|
||||
rt.exec(new String[] {"cmd.exe","/c","start","osk"});
|
||||
|
||||
}catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//Ajout Cadran
|
||||
add(cadran1);
|
||||
add(cadran2);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
53
src/Application1/Pages/Page8.java
Normal file
|
@ -0,0 +1,53 @@
|
|||
package Application1.Pages;
|
||||
|
||||
import java.awt.GridLayout;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.Border;
|
||||
|
||||
import Application1.ImagePanel;
|
||||
import Application1.TextPanel;
|
||||
|
||||
public class Page8 extends JPanel {
|
||||
public Page8(int taillePolice, Border bordure){
|
||||
TextPanel cadran1;
|
||||
|
||||
GridLayout g= new GridLayout(2,2);
|
||||
g.setHgap(10);
|
||||
g.setVgap(10);
|
||||
setLayout(g);
|
||||
|
||||
//Cadran 1
|
||||
|
||||
cadran1 = new TextPanel(taillePolice);
|
||||
cadran1.setBorder(bordure);
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
|
||||
|
||||
cadran1.AjouterParagraph(" Cette partie permet de comprendre comment importer un objet paramétrable sur votre projet Revit \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" L'objectif et de pouvoir visualiser l'objet en temps réel et de changer ses paramètres directement sur Revit\n");
|
||||
|
||||
cadran1.AjouterParagraph(" Le temps de calcul différera en fonction de la puissance de votre processeur, soyez patient !\n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Veuillez à présent suivre le tutoriel \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.setEditable(false);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//Ajouter les cadrans
|
||||
add(cadran1);
|
||||
|
||||
|
||||
}
|
||||
}
|
86
src/Application1/Pages/Page9.java
Normal file
|
@ -0,0 +1,86 @@
|
|||
package Application1.Pages;
|
||||
|
||||
|
||||
|
||||
import java.awt.GridLayout;
|
||||
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.Border;
|
||||
|
||||
import Application1.ImagePanel;
|
||||
import Application1.TextPanel;
|
||||
|
||||
public class Page9 extends JPanel {
|
||||
public Page9(int taillePolice, Border bordure){
|
||||
TextPanel cadran1;
|
||||
ImagePanel cadran2;
|
||||
TextPanel cadran3;
|
||||
ImagePanel cadran4;
|
||||
GridLayout g= new GridLayout(2,2);
|
||||
g.setHgap(10);
|
||||
g.setVgap(10);
|
||||
setLayout(g);
|
||||
|
||||
//Cadran 1
|
||||
|
||||
cadran1 = new TextPanel(taillePolice);
|
||||
cadran1.setBorder(bordure);
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
|
||||
|
||||
cadran1.AjouterParagraph(" Ouvrir votre projet sur Revit \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Placer vous dans la vue {3D}");
|
||||
cadran1.AjouterParagraph(" Cliquer sur l'onglet Addins\n");
|
||||
|
||||
cadran1.AjouterParagraph(" Cliquer sur le bouton Rhino WIP pour lancer le plugin\n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Cliquer sur l'onglet Rhinocéros \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Cliquer sur l'onglet Grasshopper \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
cadran1.AjouterParagraph(" Sur la photo, vous observez les différents boutons de l'onglet Rhinocéros \n");
|
||||
cadran1.AjouterParagraph(" \n");
|
||||
|
||||
|
||||
cadran1.setEditable(false);
|
||||
|
||||
//Cadran 2
|
||||
cadran2 = new ImagePanel("Images/Tuto_Revit/1.png");
|
||||
cadran2.setBorder(bordure);
|
||||
|
||||
|
||||
//Cadran 3
|
||||
cadran3 = new TextPanel(taillePolice);
|
||||
|
||||
cadran3.setBorder(bordure);
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.AjouterParagraph(" Dans Grasshopper, faites File->Open Document->...\n");
|
||||
cadran3.AjouterParagraph(" L'objet Paravent6 est l'objet qu'on a choisi d'utiliser comme exemple \n");
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.AjouterParagraph(" Cliquer sur le bouton Recompute de l'onglet Rhinocéros de Revit pour afficher l'objet \n");
|
||||
cadran3.AjouterParagraph(" Cliquer sur l'objet qui apparaît \n");
|
||||
cadran3.AjouterParagraph(" Parmi les paramètres de l'objet proposés dans la bande (properties, other), \n");
|
||||
cadran3.AjouterParagraph(" L'utilisateur peut changer les paramètres en écrivant la valeur souhaitée, ou en cliquant sur les petites flèches \n");
|
||||
cadran3.AjouterParagraph(" A chaque changement de paramètre, il faut appuyer sur le bouton Recompute de l'onglet Rhinocéros \n");
|
||||
cadran3.AjouterParagraph(" \n");
|
||||
cadran3.setEditable(false);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//Ajouter les cadrans
|
||||
add(cadran1);
|
||||
add(cadran2);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
118
src/Application1/PathVar.java
Normal file
|
@ -0,0 +1,118 @@
|
|||
package Application1;
|
||||
|
||||
import java.io.BufferedWriter;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.FileReader;
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.io.Writer;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.*;
|
||||
|
||||
import javax.swing.JFileChooser;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
public class PathVar {
|
||||
private String pathTrinus;
|
||||
private String pathRevit;
|
||||
|
||||
|
||||
public PathVar() {
|
||||
pathTrinus = ".";
|
||||
pathRevit = ".";
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void readPathFile() throws IOException{
|
||||
String pathData = "";
|
||||
|
||||
pathData = new String(Files.readAllBytes(Paths.get("Path/Path.txt")));
|
||||
String[] parts = pathData.split("\n");
|
||||
if (parts[0].contentEquals("Trinus")){
|
||||
pathTrinus = parts[1];
|
||||
|
||||
|
||||
}else if (parts[2].contentEquals("Trinus")) {
|
||||
pathTrinus = parts[3];
|
||||
|
||||
}
|
||||
if (parts[2].contentEquals("Revit")) {
|
||||
pathRevit = parts[3];
|
||||
|
||||
}else if (parts[0].contentEquals("Revit")) {
|
||||
pathRevit = parts[1];
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void writePathFile(String pathToWrite) {
|
||||
try {
|
||||
BufferedWriter output;
|
||||
output = new BufferedWriter(new FileWriter("Path/Path.txt",true));
|
||||
output.append(pathToWrite.concat("\n"));
|
||||
output.close();
|
||||
|
||||
} catch (FileNotFoundException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void getPath (String program) {
|
||||
String path = ".";
|
||||
int result = -99;
|
||||
JFileChooser fileChooser = new JFileChooser();
|
||||
|
||||
result = fileChooser.showOpenDialog(new JPanel());
|
||||
if(result == JFileChooser.APPROVE_OPTION)
|
||||
{
|
||||
path = fileChooser.getSelectedFile().getAbsolutePath();
|
||||
}
|
||||
|
||||
|
||||
if (program == "Trinus") {
|
||||
writePathFile("Trinus");
|
||||
writePathFile(path);
|
||||
pathTrinus = path;
|
||||
|
||||
}
|
||||
else if (program == "Revit") {
|
||||
writePathFile("Revit");
|
||||
writePathFile(path);
|
||||
pathRevit = path;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public String getPathTrinus() {
|
||||
return pathTrinus;
|
||||
}
|
||||
|
||||
public String getPathRevit() {
|
||||
return pathRevit;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
29
src/Application1/TextPanel.java
Normal file
|
@ -0,0 +1,29 @@
|
|||
package Application1;
|
||||
|
||||
import java.awt.Font;
|
||||
|
||||
import javax.swing.BorderFactory;
|
||||
import javax.swing.JTextArea;
|
||||
|
||||
public class TextPanel extends JTextArea {
|
||||
|
||||
public TextPanel(int taille) {
|
||||
super();
|
||||
Font police = new Font("Century", Font.PLAIN, taille);
|
||||
this.setFont(police);
|
||||
this.setLineWrap(true);
|
||||
this.setWrapStyleWord(true);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public void AjouterParagraph(String txt) {
|
||||
this.append(txt);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
57
src/Application1/Title.java
Normal file
|
@ -0,0 +1,57 @@
|
|||
package Application1;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.Font;
|
||||
import java.awt.Graphics;
|
||||
import java.awt.Image;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.swing.JLabel;
|
||||
import javax.swing.JPanel;
|
||||
import javax.swing.border.EmptyBorder;
|
||||
|
||||
public class Title extends JPanel {
|
||||
|
||||
|
||||
public Title() {
|
||||
JLabel Titre = new JLabel("BIM Studio");// ???????????????
|
||||
Font police = new Font("Century", Font.BOLD, 24);
|
||||
Titre.setFont(police);
|
||||
Titre.setForeground(Color.black);
|
||||
this.setBackground(Color.WHITE);
|
||||
|
||||
|
||||
this.add(Titre, BorderLayout.CENTER);
|
||||
this.setPreferredSize(new Dimension(1200,100));
|
||||
this.setBorder(new EmptyBorder(50,50,50,50));
|
||||
|
||||
}
|
||||
public void paintComponent(Graphics g) {
|
||||
try {
|
||||
Image img1 = ImageIO.read(new File("Images/Logos/Logo_INSA.png"));
|
||||
Image img2 = ImageIO.read(new File("Images/Logos/Logo_ISDAT.png"));
|
||||
Image img3 = ImageIO.read(new File("Images/Logos/Nom_cours.png"));
|
||||
g.setColor(Color.WHITE);
|
||||
g.fillRect(0, 0, this.getWidth(), this.getHeight());
|
||||
g.drawImage(img1, 20, 10,260,130,0,0,354,142, this);
|
||||
g.drawImage(img2, 200, 10,370,100,0,0,711,352, this);
|
||||
g.drawImage(img3, this.getWidth() - 270, 10, this.getWidth() - 12, 100, 0, 0, 260, 63, this);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|