Create a popup help window with javahelp

hi:
As the title states, I want to create a popup help window. I know there is
a short hand, which uses "DisplayHelpFromSource(helpset)" as an action event. Then add this event to listener. I don't use this way, since
I need to reserve the structure below (which implements actionListener interface). Any idea?
* When user click the "help" button, "createHelpViewer" will create
* a user help window & popup.
public void actionPerformed(ActionEvent e) {
        try {
            MainFrame.getReference().createHelpViewer(javaHelpFrame);
        catch (GeneralException ex) {
            ErrorHandler.errDialog(ex.getDescription(), CommonUtil
                    .getActionName(this), ex);
     * Create java help viewer
    public void createHelpViewer(JInternalFrame javaHelpFrame) throws GeneralException {
        if (javaHelpFrame != null) {
            return;
        String mainHSName = "gui/files/jhelpset.hs";
        HelpSet mainHS = null;
        // Create helpset
        try {
            ClassLoader cl = this.getClass().getClassLoader();
            URL hsURL = CommonUtil.getResourceURL(mainHSName);
            mainHS = new HelpSet(cl, hsURL);
        catch (Exception ex) {
            throw new GeneralException(
                    "Help Set " + mainHSName + " not found",
                    ex);
        // Display javahelp
        // How to display the javahelp?
    }

Here is a sample of a pop-up window that I did...
I created a small gallery of some of my Edge animations..
Use the left and right arrow on your keyboard to navigate through images...
Click on the image you want to view...
A large window pops up and you can view the animation...
Click on the X to close the pop up
http://www.meschrene.puremadnessproductions.net/Samples/Gallery/Edge-Samples.html

Similar Messages

  • How to create a pop up window with text information?

    Hi experts,
    I am a newbie in LC and I have created a form to be sent to the vendors by our buyers.  Everything seems fine except the Accounting Manager would like to include our Financial Details in the form.  I would like to simply create a pop up window with the information which will be activated by pressing a button.  I have tried to create an invisible button and a visible button to achieve this but didn't succeed. 
    p.s. I have no javascript background but slowly learning.  I would appreciate if anyone can assist me to complete the task.
    Thanks a million.

    Hi Mdjco,
    Thanks for replying.  What I need to accomplish is to have another page of information with all the financial details on the pop up window and the vendor has a choice to print it out or not.  After the form is filled out, it is to be sent back to our buyers.  So instead of me inserting a 2nd page with the information, I would like to hide it unless someone presses a button to show it.
    I have found something like making 2 buttons, one is invisible with all the information on it and the other one "visible" to activate the invisble button.  Didn't work at all.
    Also another question is after the vendor insert the digital signature, it automatically asked to save (which I found out why from help) and then it opens up the email and sends the form as XML.  I will need it to send as PDF, possible??
    Much appreciated.

  • Popup help window using layeredpane

    what i would like to implement is a window that pops up whenever a user clicks on a button; it will show a bunch of help text (probably an JEditorPane full of HTML). i want it to behave like a popup menu (right click) in that it will disappear when focus is placed somehere else but remain when user is clicking/selecting inside it.
    i've tried using JWindow and JFrames but they have problems (don't handle focus well/at all and frames have an annoying title bar).
    can i simply put a panel of stuff in the LayeredPane.POPUP_LAYER; once that is done how do i properly detect for a focus lost situation -- in the super's mousePressed? via a focusListener? somewhere in layered pane? (hmmm....can a read-only HTML page actually get focus?)
    is it possible to reuse/inherit JPopup somehow? its just a JComponent but how do a i add non-items to it.
    i'm sure someone's done this before but i couldn't find it in the archives.
    thanks,
    dd.

    You might want to consider using HTML tooltips
    instead. See the SwingSet demo that comes with the
    JDK on how to do it.just to describe what i want a little bit more.
    say there is a labelled text field " address : [___________]"
    i would like the user to be able to click on the "address" label and have a help window come up.
    it would contain hyperlinks to help docs and other components that require that help window itself have focus. also, it would be fairly large which is not suitable for tooltips.
    i will reread the tooltip docs but unless they can somehow get focus i'm not sure how to use them.
    there are some similarities that maybe i could inherit though.

  • How to create a popup help page in html db

    i'm trying to create a popup up help page in html db by having a help button from the main page and when clicked a popup page will appear... but can't seem to get it working...
    can somebody pls help me? thanks a bunch!!

    Hi Denes ,
    Need some more suggestion from you .
    I have incorporated your popup code in navigation 'Logout' link.
    Now after clicking on that the popup page appears fine .
    But i like to include two button in that popup page such a way that --
    after clicking 'Confirm Logout' button some database updation has been done and the child popup page unloads,but the parent page redirect to login page.But if cancel pressed then only child popup page unloads and no database action will will be carried out .
    Could you plz help on this .
    Cheers,
    Rosy

  • Creating a popup browser window from an applet

    Hi, in a java applet that I am developing i use AppletContext.showDocument to load a web-page. The thing is i want this window to be a popup, devoid of toolbar and statusbar, etc. do you have any idea on how i could accomplish this?
    I tried to do it with javascript, but i could only create new pop-up child windows of the html file that contained the method for opening pop-ups, i could not change the parent window itself to become a popup.
    If you have any idea on how to either create a pop-up type window from an applet, or make the current window into a popup i would be grateful to hear it.

    The only way I can think of is to use JSObject to call JavaScript on the current page & have JavaScript do a window.open
    http://forum.java.sun.com/thread.jsp?forum=31&thread=295808

  • Creating Link to New Window with Defined Size and Cursor Change

    Hello,
    I seem to be having a problem having a hot-spot link open a new window and perform the way I want it to. I have tried a few different ways of going about this, as described below:
    The first method when defining the hot spot was to use the properties menu provided at the bottom of Dreamweaver when I click on the hot spot. When I test the page, the cursor changes to a hand and I can open the link in a new window BUT I cannot define the width and height of the new window.
    The second method was after defining the hot spot, using the behaviors menu from the tag inspector. From here, I would add an Open Browser Window behavior using the onClick event. Here, I can open the new window in a pre-defined width and height BUT when I test the page, the cursor does not change to a hand. It just remains the standard arrow.
    The question is, how I can define the hot spot to where the mouse will change to a hand when I scroll over it AND when the window opens, it is set to the width and height I want to define?
    Thanks,
    Smartin1007

    Good Morning Gentlemen,
    I tried placing the cursor script into the code without success. Either I'm not applying it correctly or it could be that the code in use is a combination of html and Java scripting.
    Right now, I converted all of the image maps to the behaviors technique because I need the specific window sizes for the application that is being created. Steve, I am using DW CS4, and a sample of the code is provided below:
    map name="Map"
    area shape="rect" coords="19,466,56,503" alt="Stage Hydrograph - North Fork Licking River at Mt. Olivet, KY" onClick="MM_openBrWindow('StageHydrograph/MtOlivet.html','','width=915,height=665')"
    /map
    Note that there is no href reference, because I haven't found a suitable way of having an href reference with target=_blank to where I can define the new window size.
    I really appreciate the advice and time that is being taken to help solve this problem.

  • How do I create a new document window with JS

    I would like to create a new window for an open document  modify the duplicate document, export and close leaving the original document in it's original state. Is there a way to do this with Jave script?
    If I were to do this manually I would go to the Window menu and select > New Window. Then I could make the changes I want, export and close without changing the open file.
    How to sript this?
    Thanks,
    GM

    Your right,
    What I really want to do is save a copy : File > Save a Copy and then open the copy.
    The reason I don't like the saveAs() is that your original document is no longer open, so you then have to reopen it. You lose the ability to undo.
    I want to be able to run an export script that modifies the document and exports to photoshop but I want to do this without disrupting my work on the original document. The original document would ideally be left open and unchanged so that I can continue working on it or use the Undo function as needed.
    Is there a way to Save a Copy with script?
    thanks,
    GM

  • Create a dll for windows with gcc

    hello!
    I have made a program in 'C' under linux and i want to make it into a dll with gcc to use it in labview under windows.
    Has anyone already done a such thing? so what is the magic option to pass to gcc to make it properly?
    Thank you.

    vincent72 wrote:
    Thank you for your replies. unfortunately, these options don't work on our computer. the keyword 'declspec' wasn't reconnised by our gcc. we also tried the keyword '__attribute ((dllexport))__' but it didn't work anymore.
    I think the standard gcc attribute is more
    something like attribute(export). After all gcc environments typically
    use shared libraries and not DLLs. But then again not every gcc
    compiler will be able to just create proper Win32 executables. As
    explained already, there needs to be quite a lot in the toolchain for
    the intended target.
    For instance the compiler/linker should support COFF library format in
    order to create a valid Win32 executable file unless you have a your
    own format specific Win32 compatible loader that gets linked in and
    understands your library format. Also declspec() is a Microsoft
    specific extension not supported by off the shelf gcc. And gcc has no
    intentions to add anything they consider non-standard, and most
    Microsoft extensions are non-standard.
    MingW does come with a patched gcc, that supports the most important
    things to be able to create valid Win32 executables but most other gcc
    versions don't.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Create a LinkFile in Windows with JAVA

    Hi !
    I need a possibility in my java program to make a link file.
    The OS is Windows. How can JAVA create a LinkFile ?
    My ideas:
    - If there is a possibility on the MS-DOS console I would use the Runtime.exec command.
    - If the LinkFile is an ASCII-File I woudl write a new file and give the correct content to the file so that it will be handeld as LinkFile.
    I think my ideas dont work.
    Can you help me ?
    Thx Wolfgang

    All about Windows Links at
    http://www.wotsit.org/search.asp?page=3&s=windows

  • Best way to have a button click create a pop-up window with link URL?

    Hi everyone,
    What is the best way to set a button's click to open a pop-up browser window and take the user to a specific link?
    I did a bit of research and it looks like there are many methods and I'm not sure if the posts were older, but many mention that some of the methods are inconsistent with different browsers + get caught in pop-up blockers...
    Different methods:
    navigationToURL()
    window.open()
    ExternalInterface.call()
    Many thanks,
    DK

    Just to clarify a bit: The observer pattern is not really used for "simple binding". I mean, if your application is really small, I can't say that it would hurt to implement an observer pattern just that it might be more of an overkill ( but not completely an overkill ). If the stuff you are trying to do is really simple then using simple listeners and dispatchers is fine ( even in more complex situations, events come in really handy ).
    So, don't overkill if the application is not aimed to evolve/change and be as flexible as possible. Design patterns are great when they are used correctly and in the correct situation. Just because they solve certain problems well, that doesn't mean that all applications need the complexity and abstraction many patterns bring ( you could build a simple Hello World! app in tons of classes with N patterns but what would be the point? ).
    I hope you understand what I mean. Good luck.

  • How to create a pop-up window with a larger image

    Again, I'm looking to do something very simple and can't figure it out. I want users to be able to hover over/click on an image and there pops up a larger version of the image, much like you see on online catalogs and shopping sites. I've looked into Lightbox and jQuery but don't understand how to incorporate the code into my pages. Is there a simpler way using DW CS4?
    Thanks,
    Gail

    Select the thumbnail image and link it to the larger image file.
    Use DW Behaviors Panel and hit the plus + sign.
    Choose Open Browser Window.  This will invoke another panel for adjusting the size and other attributes of your pop-up window.
    Hit OK.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Can a popup be created and still allow interaction with parent?

    I've searched all over Google and the forums and can't seem
    to find what I need.
    Is there a way to create a popup window that does not make
    the parent window unusable while it's being displayed? I'd like to
    create a popup "help" window for an app, but while the popup is
    displayed, I'd like the users to still be able to use the
    application itself.
    Any ideas would be greatly appreciated.
    Thanks,
    Chris

    The methods for creating or adding popups have a
    modal parameter which specifies what you mentioned. By
    default it is set to false, so you shouldn't have any troubles
    unless you are setting it to true:
    addPopUp(window:IFlexDisplayObject, parent:DisplayObject,
    modal:Boolean = false, childList:String = null):void
    createPopUp(parent:DisplayObject, className:Class,
    modal:Boolean = false, childList:String =
    null):IFlexDisplayObject
    The first place where you should look for this kind of stuff
    is the Language Reference:
    http://livedocs.adobe.com/flex/201/langref/index.html

  • How to create a dialog window with no button that opens along with the main window?

    When the main window is open, the dialog window opens up immediately and can be closed by key press. At other times, when the next step, ie: decision, comes to, the another dialog window pops up again and is again closed by key press. Does anyone know how to do? Use the sub-Vi? notification method? occurrence method?
    And another thing: how to create a reusable dialog window with no button so that different messages can be sent to it and it can closed by key press. And how to pass the string to the title of the dialog window programmatically?

    For your functionality (If I understand it right), nothing needs to be in the event structure. Pressing any key just triggers the event, thus finishing the VI (there is no while loop).
    Could you tell me what you mean my "it won't run properly"? Make sure that the front panel of the subVI is closed before starting the main VI. Remember that the subVI is set to "open when called" and "close afterwards if originally closed". So, if you had the panel open already, it won't of course close when finished!
    (Actually, the problems is worse when you have the subVI panel open when starting the main VI. you get a catch22 and labVIEW locks up because (1) the subVI is set to dialog and grabs all attention but (2) it has not been
    called, thus the event cannot be triggered. So don't do that!!!! As a quick workaround, add the modification shown in the attached image to ensure the panel of the subVI is closed.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    CloseNoButtonDialog.gif ‏3 KB

  • Best way to manage multiple Help windows

    Hi all:
    I'm working with X5 to create Help for a large modular
    application. I have a single Help project, but want to deliver help
    content only for the specific modules used by clients. I'm
    attemtping to create multiple Help windows with a Main window
    containing Help for standard deliverables and other windows
    containing Help for specific modules. What's the best way to
    achieve this using a single project. Or do I have to maintain
    multiple projects?
    I tried using customized windows but there are some
    limitations. I manually created a new hhc file for a custom window
    and it's working fine. But, I cannot open the custom window by
    clicking a book in the TOC (which is what I want) of the main
    window but can do so by clicking a topic. Also, I cannot assign
    separate default topics for each custom window. Further, when I
    click a hyperlink in a custom window that links to a topic in the
    main window, the topic from the main window displays in the custom
    window but it's not listed in the TOC of the custom window, so
    that's awkward.
    Please help!!!
    Romeo Coutinho

    From the user's point of view a merged set of help files is
    probably the best solution. Using global windows the whole help
    system is displayed in one window and shows only topics for the
    modules installed (if you can get your setup people to comply with
    your wishes that is ;-) ).
    Handling multiple projects is not more complicated than
    handling a big one. Each help topic only exits in one project; if
    you want to create or update the help for module XYZ_1, you open
    project XYZ_1. If you want to edit a topic in the project Master,
    you open project Master. After editing a project you compile just
    this module and nothing else.
    The only thing you have to learn are the peculiarities of the
    help compiler regarding merged projects. Refer to
    http://www.helpware.net/htmlhelp/how_to_merge.htm
    for a good description of these kinks.
    ---Dirk Bock

  • Modal window can't show window with viewset???

    Hi all,
    I use the following code to create a popup modal window. When i embed only one view, it works fine, but when i embed a viewset, and put multiple views into the viewset, it can only pop up a tiny little area with nothing in it.
    is there a reason for this? what do i do to pop up a window with viewset?
    Thanks!
         IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("OneWindow");
         IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
         window.setWindowPosition (300, 150);
         window.show();

    Hi
    I'm opening popup window using viewSet. and its working fine,
    You need to set the window position, so that it can be viewed properlty.
    public void openPopUpWindow( )
        //@@begin openPopUpWindow()
            IWDWindowInfo winfo=wdComponentAPI.getComponentInfo().findInWindows("Popwindow");
            IWDWindow window1=wdComponentAPI.getWindowManager().createModalWindow(winfo);
              window1.setWindowPosition(10,280);
              window1.show();
                  //@@end

Maybe you are looking for

  • Kdelibs-noarts -- help please, doesn't work [solved]

    I'm a xfce user and just want amarok and sometimes k3b and k9copy from kde. I don't want any konqueror, kwrite, arts or any other bloated stuff in my machine. So, i modified the kdelibs PKGBUILD to suit my needs -without arts nor avahi dependency/sup

  • Custom field in Account Partners Edit page

    Need to display a new custom field in Account Partners Edit page. We are not able to find the object definition of "Account Partners" which we can edit. Is option of adding a custom field in Account Partners Edit available in CRMOD? Will enabling "Pa

  • Q about using Kontakt player

    I'm a new user to the Kontakt player, which came with Garritan's Personal Orchestra, and I have a question about how the Kontakt player is generally used in Logic. It seems the optimal way of using it is to assign the Kontakt Player to an Audio Instr

  • 9.2.0.8 Client patch

    Hi, I'm looking for 9.2.0.8 Client patch for Windows 7. I do not see it here : http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html Where can I find it ? Thank you.

  • Invoice block removal due to quantity.

    Hi , Is there a standard workflow to remove invoice that is blocked due to quantity mismatch. Or is there any other simple way to do that ? Regards Immanuel D