1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
|
import java.awt.Dimension;
import java.awt.Rectangle;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.SwingUtilities;
import javax.swing.plaf.basic.BasicComboBoxEditor;
public class accueil {
private JFrame accueil = null; // @jve:decl-index=0:visual-constraint="-30,-4"
private JPanel jContentPane = null;
private JPanel panelhaut = null;
private JPanel panelbas = null;
private JComboBox combo1 = null;
private JComboBox combo2 = null;
private JComboBox combo3 = null;
private JComboBox combo4 = null;
private JComboBox combo5 = null;
private JComboBox combo6 = null;
private JComboBox combo7 = null;
private JLabel labelfonc = null;
private JButton jButton = null;
private JButton jButton1 = null;
private JButton jButton2 = null;
private JButton jButton3 = null;
private JButton jButton4 = null;
private JButton jButton5 = null;
private JButton jButton6 = null;
private JLabel jLabel = null;
private JLabel jLabel1 = null;
private JLabel jLabel11 = null;
private JLabel jLabel12 = null;
private JLabel jLabel13 = null;
private JLabel jLabel14 = null;
private JLabel jLabel15 = null;
private JLabel jLabel16 = null;
private JLabel jLabel17 = null;
private JList jList = null;
private JList jList1 = null;
private JList jList2 = null;
private JList jList3 = null;
private JLabel jLabel2 = null;
private JButton jButton7 = null;
/**
* This method initializes accueil
*
* @return javax.swing.JFrame
*/
private JFrame getAccueil() {
if (accueil == null) {
accueil = new JFrame();
accueil.setSize(new Dimension(839, 534));
accueil.setTitle("Gescom");
accueil.setName("accueil");
accueil.setVisible(true);
accueil.setContentPane(getJContentPane());
}
return accueil;
}
/**
* This method initializes jContentPane
*
* @return javax.swing.JPanel
*/
private JPanel getJContentPane() {
if (jContentPane == null) {
jContentPane = new JPanel();
jContentPane.setLayout(null);
jContentPane.add(getPanelhaut(), null);
jContentPane.add(getPanelbas(), null);
}
return jContentPane;
}
/**
* This method initializes panelhaut
*
* @return javax.swing.JPanel
*/
private JPanel getPanelhaut() {
if (panelhaut == null) {
jLabel = new JLabel();
jLabel.setBounds(new Rectangle(28, 4, 300, 15));
jLabel.setText("Gestion V 1.0");
labelfonc = new JLabel();
labelfonc.setBounds(new Rectangle(30, 61, 126, 17));
labelfonc.setText("Fonctions courantes");
panelhaut = new JPanel();
panelhaut.setLayout(null);
panelhaut.setBounds(new Rectangle(-1, 0, 832, 121));
panelhaut.add(getCombo1(), null);
panelhaut.add(getCombo2(), null);
panelhaut.add(getCombo3(), null);
panelhaut.add(getCombo4(), null);
panelhaut.add(getCombo5(), null);
panelhaut.add(getCombo6(), null);
panelhaut.add(getCombo7(), null);
panelhaut.add(labelfonc, null);
panelhaut.add(getJButton(), null);
panelhaut.add(getJButton1(), null);
panelhaut.add(getJButton2(), null);
panelhaut.add(getJButton3(), null);
panelhaut.add(getJButton4(), null);
panelhaut.add(getJButton5(), null);
panelhaut.add(getJButton6(), null);
panelhaut.add(jLabel, null);
}
return panelhaut;
}
/**
* This method initializes panelbas
*
* @return javax.swing.JPanel
*/
private JPanel getPanelbas() {
if (panelbas == null) {
jLabel2 = new JLabel();
jLabel2.setBounds(new Rectangle(392, 126, 252, 18));
jLabel2.setText("Désignation : Chiffre d'affaire");
jLabel17 = new JLabel();
jLabel17.setBounds(new Rectangle(385, 83, 161, 20));
jLabel17.setText("xxx");
jLabel16 = new JLabel();
jLabel16.setBounds(new Rectangle(383, 26, 161, 20));
jLabel16.setText("xxx");
jLabel15 = new JLabel();
jLabel15.setBounds(new Rectangle(15, 322, 292, 20));
jLabel15.setText("Articles SAV sur les 12 derniers mois");
jLabel14 = new JLabel();
jLabel14.setBounds(new Rectangle(16, 265, 291, 20));
jLabel14.setText("Articles les plus vendus sur les 12 derniers mois");
jLabel13 = new JLabel();
jLabel13.setBounds(new Rectangle(16, 208, 291, 20));
jLabel13.setText("Meilleurs clients sur les 12 derniers mois");
jLabel12 = new JLabel();
jLabel12.setBounds(new Rectangle(16, 151, 291, 20));
jLabel12.setText("Meilleurs fournisseurs sur les 12 derniers mois");
jLabel11 = new JLabel();
jLabel11.setBounds(new Rectangle(88, 83, 219, 20));
jLabel11.setText("Chiffre d'affaire année précédente");
jLabel1 = new JLabel();
jLabel1.setBounds(new Rectangle(89, 26, 218, 20));
jLabel1.setText("Chiffre d'affaire année en cours");
panelbas = new JPanel();
panelbas.setLayout(null);
panelbas.setBounds(new Rectangle(0, 121, 832, 379));
panelbas.add(jLabel1, null);
panelbas.add(jLabel11, null);
panelbas.add(jLabel12, null);
panelbas.add(jLabel13, null);
panelbas.add(jLabel14, null);
panelbas.add(jLabel15, null);
panelbas.add(jLabel16, null);
panelbas.add(jLabel17, null);
panelbas.add(getJList(), null);
panelbas.add(getJList1(), null);
panelbas.add(getJList2(), null);
panelbas.add(getJList3(), null);
panelbas.add(jLabel2, null);
panelbas.add(getJButton7(), null);
}
return panelbas;
}
/**
* This method initializes combo1
*
* @return javax.swing.JComboBox
*/
private JComboBox getCombo1() {
if (combo1 == null) {
combo1 = new JComboBox();
combo1.setBounds(new Rectangle(15, 29, 93, 20));
combo1.setEditor(new BasicComboBoxEditor());
combo1.addItem("la");
}
return combo1;
}
/**
* This method initializes combo2
*
* @return javax.swing.JComboBox
*/
private JComboBox getCombo2() {
if (combo2 == null) {
combo2 = new JComboBox();
combo2.setBounds(new Rectangle(135, 29, 93, 20));
}
return combo2;
}
/**
* This method initializes combo3
*
* @return javax.swing.JComboBox
*/
private JComboBox getCombo3() {
if (combo3 == null) {
combo3 = new JComboBox();
combo3.setBounds(new Rectangle(256, 29, 93, 20));
}
return combo3;
}
/**
* This method initializes combo4
*
* @return javax.swing.JComboBox
*/
private JComboBox getCombo4() {
if (combo4 == null) {
combo4 = new JComboBox();
combo4.setBounds(new Rectangle(376, 29, 93, 20));
}
return combo4;
}
/**
* This method initializes combo5
*
* @return javax.swing.JComboBox
*/
private JComboBox getCombo5() {
if (combo5 == null) {
combo5 = new JComboBox();
combo5.setBounds(new Rectangle(495, 29, 93, 20));
}
return combo5;
}
/**
* This method initializes combo6
*
* @return javax.swing.JComboBox
*/
private JComboBox getCombo6() {
if (combo6 == null) {
combo6 = new JComboBox();
combo6.setBounds(new Rectangle(615, 29, 93, 20));
}
return combo6;
}
/**
* This method initializes combo7
*
* @return javax.swing.JComboBox
*/
private JComboBox getCombo7() {
if (combo7 == null) {
combo7 = new JComboBox();
combo7.setBounds(new Rectangle(735, 29, 93, 20));
}
return combo7;
}
/**
* This method initializes jButton
*
* @return javax.swing.JButton
*/
private JButton getJButton() {
if (jButton == null) {
jButton = new JButton();
jButton.setBounds(new Rectangle(15, 89, 43, 17));
}
return jButton;
}
/**
* This method initializes jButton1
*
* @return javax.swing.JButton
*/
private JButton getJButton1() {
if (jButton1 == null) {
jButton1 = new JButton();
jButton1.setBounds(new Rectangle(75, 89, 43, 17));
}
return jButton1;
}
/**
* This method initializes jButton2
*
* @return javax.swing.JButton
*/
private JButton getJButton2() {
if (jButton2 == null) {
jButton2 = new JButton();
jButton2.setBounds(new Rectangle(129, 89, 43, 17));
}
return jButton2;
}
/**
* This method initializes jButton3
*
* @return javax.swing.JButton
*/
private JButton getJButton3() {
if (jButton3 == null) {
jButton3 = new JButton();
jButton3.setBounds(new Rectangle(182, 89, 43, 17));
}
return jButton3;
}
/**
* This method initializes jButton4
*
* @return javax.swing.JButton
*/
private JButton getJButton4() {
if (jButton4 == null) {
jButton4 = new JButton();
jButton4.setBounds(new Rectangle(237, 89, 43, 17));
}
return jButton4;
}
/**
* This method initializes jButton5
*
* @return javax.swing.JButton
*/
private JButton getJButton5() {
if (jButton5 == null) {
jButton5 = new JButton();
jButton5.setBounds(new Rectangle(292, 89, 43, 17));
}
return jButton5;
}
/**
* This method initializes jButton6
*
* @return javax.swing.JButton
*/
private JButton getJButton6() {
if (jButton6 == null) {
jButton6 = new JButton();
jButton6.setBounds(new Rectangle(344, 89, 43, 17));
}
return jButton6;
}
/**
* This method initializes jList
*
* @return javax.swing.JList
*/
private JList getJList() {
if (jList == null) {
jList = new JList();
jList.setBounds(new Rectangle(392, 151, 252, 37));
}
return jList;
}
/**
* This method initializes jList1
*
* @return javax.swing.JList
*/
private JList getJList1() {
if (jList1 == null) {
jList1 = new JList();
jList1.setBounds(new Rectangle(392, 208, 252, 37));
}
return jList1;
}
/**
* This method initializes jList2
*
* @return javax.swing.JList
*/
private JList getJList2() {
if (jList2 == null) {
jList2 = new JList();
jList2.setBounds(new Rectangle(392, 265, 252, 37));
}
return jList2;
}
/**
* This method initializes jList3
*
* @return javax.swing.JList
*/
private JList getJList3() {
if (jList3 == null) {
jList3 = new JList();
jList3.setBounds(new Rectangle(392, 322, 252, 37));
}
return jList3;
}
/**
* This method initializes jButton7
*
* @return javax.swing.JButton
*/
private JButton getJButton7() {
if (jButton7 == null) {
jButton7 = new JButton();
jButton7.setBounds(new Rectangle(672, 14, 144, 33));
jButton7.setVerticalTextPosition(SwingConstants.TOP);
jButton7.setVerticalAlignment(SwingConstants.CENTER);
jButton7.setText("Masquer/afficher ");
}
return jButton7;
}
public static void main(String[] args){
}
} |
Partager