public void installContextHelp(JComponent _cp) { installContextHelp(_cp, null); }
if(app_!=null) app_.installContextHelp(getRootPane(),"bu/p-aide.html");
public BuFrameImage(BuCommonImplementation _app, String _file, Image _img) { super("",true,true,true,true); app_=_app; setName("ifIMAGEUR"); if(app_!=null) app_.installContextHelp(getRootPane(),"bu/p-imageur.html"); content_=(JComponent)getContentPane(); content_.setBorder(EMPTY0000); pane_=new BuPicture(); pane_.setOpaque(true); pane_.setBackground(Color.white); pane_.setBorder(EMPTY5555); pane_.setMode(BuPicture.LEFT); sp_=new BuScrollPane(pane_); sp_.setBorder(EMPTY0000); content_.add(sp_,BuBorderLayout.CENTER); if(_file!=null) setTitle(new File(_file).getName()); else setTitle(_("Image")); setFrameIcon(BuResource.BU.getFrameIcon("image")); setImage(_img); }
public void start() { BuInformationsSoftware il = getInformationsSoftware(); if (getName() == null) setName("fr" + il.name.toUpperCase()); if (getRootPane().getName() == null) getRootPane().setName("rp" + il.name.toUpperCase()); implementation_.installContextHelp(getRootPane(), ""); // il.man); addNotify(); /* * pack(); getRootPane().invalidate(); getRootPane().revalidate(); getRootPane().repaint(0); */ // getRootPane().revalidate(); // getRootPane().repaint(0); BuIcon logo = getInformationsSoftware().logo; setIconImage(logo != null ? logo.getImage() : BuResource.BU.getImage("buapplication")); setTitle(il.name + " " + il.version); BuSplashScreen ss = implementation_.getSplashScreen(); if (ss != null) { ss.setVisible(false); ss = null; implementation_.setSplashScreen(null); } BuPreferences.BU.applyOn(getApp()); implementation_.prestart(); setVisible(true); implementation_.start(); }
setName("ifPROPRIETES"); if (_app != null) { _app.installContextHelp(getRootPane(), "fudaa/proprietes.html");
_app.installContextHelp(getRootPane(),"bu/p-previsualisateur.html");
_app.installContextHelp(getRootPane(),"bu/p-preferences.html"); setShortcut(KeyEvent.VK_F2);
_app.installContextHelp(getRootPane(),"bu/p-preferences.html");
if (app_ != null) app_.installContextHelp(getRootPane(), "bu/p-navigateur.html");