Linking url

I have 2 applets ==>> JApplet1 & JApplet2.
JApplet1 is in directory c:\folder1\ and JApplet2 is in c:\folder2\.
JApplet1 has a JButton that opens JApplet2.
How do I do this???
This is what I've come up with:
URL url = new URL(//Can't make use of getDocumentBase() so I don't know what to put here);
getAppletContext().showDocument(url, "_self");pls help me correct my code.
thanks

I tried this:
URL url = new URL("C:\java1-2\tutorials\javadoc 1.3\docs\api\index.html");
getAppletContext().showDocument(url, "_self");
but the first line gives an error, so revised it to this:
URL url = "C:\java1-2\tutorials\javadoc 1.3\docs\api\index.html";
getAppletContext().showDocument(url, "_self");
now with this the second line throws an error.
Can anyone pls correct this.
thanks!!!

Similar Messages

  • How to post a link (URL) in "Apple Discussions"

    You can shorten your links (URLs) by using HTML coding.
    This is preferable when the URL is very long. Posting the entire URL can extend the width of a post beyond the range of many computer screens. This can make a post difficult to read, as it necessitates sideways scrolling.
    This is the format to use:
    <a href="Insert URL Here">Type Title Here</a>
    The quotation marks are necessary.
    This link Search Apple Support, would be formatted like this:
    <a href="http://search.info.apple.com/">Search Apple Support</a>
    The title can be anything you choose.
    To avoid typos, it is helpful to go to the web page you are linking to, and copy & paste the URL from the address bar of your browser.
    Some helpful Utilities:
    level4 "Panther only" at present
    Typeit4me
    And for more HTML tricks, check this out How Can I Format My Post by Joerg Weise
    Have Fun!
    ali b

    How to post a link (URL) in "Apple Discussions"
    You can shorten your links (URLs) by using HTML coding.
    This is preferable when the URL is very long. Posting the entire URL can extend the width of a post beyond the range of many computer screens. This can make a post difficult to read, as it necessitates sideways scrolling.
    This is the format to use:
    <a href="Insert URL Here">Type Title Here</a>
    The quotation marks are necessary.
    This link Search Apple Support, would be formatted like this:
    <a href="http://search.info.apple.com/">Search Apple Support</a>
    The title can be anything you choose.
    To avoid typos, it is helpful to go to the web page you are linking to, and copy & paste the URL from the address bar of your browser.
    Some helpful Utilities:
    level4 "Panther only" at present
    Typeit4me
    And for more HTML tricks, check this out How Can I Format My Post by Joerg Weise
    Have Fun!
    ali b

  • Accessing Collaboration Room with Room Link (URL) doesn't work

    hi all
    i'm trying to access a collaboration room by room link (url) but it doesn't work. the room url is: https://www.sportal.ch:443/irj/index.html?NavigationTarget=CollaborationConnector://portal_content/com.sap.ip.collaboration/Rooms/b0ce78ec-3f30-2910-2184-b171271d4d95/workset&NavTargetAsRoot=true
    i have checked the roombackend-properties => they are ok
    i have checked the roles and permissions => they are ok
    what me surprises: when i open a new browser window and type in the mentioned url, our portal-start-page is displayed but in the content area there is no content displaied. i expected, that when i type in the url, then the authentification-dialogue would appear, but it does not.... (does this url only work if i am already logged in the portal??)
    if you have any ideas, how the problem could be solved, please let me know!
    thank you for your help.
    greetings
    flo

    hi ingo
    thank you for the input. i have now solved the problem, perhaps my solution fits for you too. here it is:
    when i use the function "send room-link" the url looks like this:
    https://www.sportal.ch:443/irj/index.html?NavigationTarget=CollaborationConnector://portal_content/com.sap.ip.collaboration/Rooms/9020275c-8348-2810-28a6-a8c1ae60e192/workset&NavTargetAsRoot=true
    with this url i can not access the collaboration room.
    but when i change the url like this:
    https://www.sportal.ch/irj/portal?NavigationTarget=ROLES://portal_content/com.sap.ip.collaboration/Rooms/9020275c-8348-2810-28a6-a8c1ae60e192/workset&NavTargetAsRoot=true
    now i can access the room (with authentification).
    OK, for me the main problem is solved, but can someone perhaps tell me whats the difference between:
    NavigationTarget=CollaborationConnector
    and
    NavigationTarget=ROLES
    thank you for your help!
    greetings
    flo

  • Links (urls) inside a pdf document are not enabled by the New firefox pdf preview feature but are in Chrome & IE

    The new pdf preview feature in firefox desktop does NOT seem to activate any links (urls) inside the pdf meaning they are no longer clickable.
    Is anyone else experiencing this problem.
    I send out product information using pdf's with clickable links inside (as do lots of businesses) and this loss of clickable links functionality is a problem.
    I also tried the same pdf files in IE and Chrome and their inline pdf previews keep all links fully working.
    I know the pdf preview in firefox can be deactivated and the adobe reader can be used instead but in reality lots of people won't know how to do this or won't be troubled to find out how and will just move on.
    Does anyone know if this feature is going to be fixed or supported or is it a deliberate security feature.
    Thanks.
    JP.

    Hey JPEdwards,
    The PDF.js team is still hard at work on the built-in viewer. It looks like there is already a bug on file for this and they are aware of it:
    https://bugzilla.mozilla.org/show_bug.cgi?id=821599
    Please don't post in the bug if you are just confirming that you've seen the problem too. That clutters the tickets ;)

  • How to create 2 or 3 links URL in a jpeg ?

    How to create 2 or 3 links URL in a jpeg ?
    Do i use photoshop ?
    Thank you

    Images cannot contain links. All that stuff is done in the web page source code, e.g. using image maps, interactive SVGs or JavaScripts that track coordinates and respond accordingly. You will have to use a web authoring tool like Muse or Dreamweaver to produce such stuff, but since you seem to be a complete beginner, I strongly urge you to read up at least on some basic stuff about HTML, CSS and how the web ticks in general or you'll be forever lost.
    Mylenium

  • MAC - Can't open a link/URL in a new tab inside a folder

    I can't open a link/URL in a new tab inside a folder from a Mac. I am sure I can do that in PC. Please advice. Thanks in advance.

    Does the URL go to a regular web page, or another kind of file (e.g., PDF, PowerPoint)?
    If you right-click the link and choose Copy Link Location, then paste to the address bar and press Enter, does Firefox load the link as expected?

  • Links, URLs & bookmarks open in same tab -- not separate tabs so i left ff 17 for FF 16

    no matter how i configure the tabs setting in firefox (open links and new windows in a new tab) , all links, URLs and bookmarks open in the same tab, instead of as separate tabs, unless i first open a new tab and then select/enter the link, URL or bookmark.
    for this reason, i ALWAYS use Tab Mix Plus extension...this has mastered the use of tabbed browsing and is very easy to set up and keep up...i dont have to open blank tabs first and TMP has other options too...
    i just downgraded from FF 17 to FF 16 bc Tab Mix Plus doesnt work with FF 17 and i wont have my browsing hindered by FF inability to make their tabs work...
    btw, i always revert to a previous version of FF until Tab Mix Plus is updated to work with the current FF upgrade...

    ''desertvoice wrote:''
    i just downgraded from FF 17 to FF 16 bc Tab Mix Plus doesnt work with FF 17
    The development version of Tab Mix Plus works with Firefox 17.
    * [[Tab Mix Plus is incompatible with Firefox 17 - Use the development build as a workaround]]
    ''desertvoice wrote:''
    no matter how i configure the tabs setting in firefox (open links and new windows in a new tab) , all links, URLs and bookmarks open in the same tab
    There's no option in Firefox to open all links in a separate tab.
    * You can open a link in a new tab by middle-clicking the link, holding down the '''Ctrl''' key while left-clicking the link, or right-clicking and choosing '''Open in a New Tab'''.
    * Links in app tabs will always open in a new tab. For details, see [[App Tabs - keep favorite websites open and just a click away|App Tabs]].
    * If the site requests opening the link in a new window via the ''target'' attribute, it will open in a new tab unless “Open new windows in a new tab instead” is unchecked. For details, see [[Tab preferences and settings]].
    * The way links from other applications open is also controlled by the above option.
    * Pop-up windows will always open as separate windows rather than tabs.

  • How to add a link/url to the the task assignment email body?

    Hi,
    I'm currently creating a SharePoint 2013 workflow by using visual studio 2013.
    in the workflow I assign tasks to multiple users by making use of the CompositeTask workflow activity.
    I would like to add a ling to the task form in the body of the assignment email. 
    When using the SingleTask workflow, the output of the activity provides a task item ID which can be used when construction a link/url to the task edit form, but there is no such output.
    How can I add a link to the task form in the body of the email?
    Thanks in advance

    Found this link just after I posted my question:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.workflowservices.activities.taskemailtokens_fields.aspx
    It has a bunch of tokens you can use inside the body of the emails

  • Creating an Opaque view for generating the Action Link URL in OBIEE EBS int

    Do we have to Creating an Opaque view for generating the Action Link URL in OBIEE Oracle E-Business Suite integration if we are not using BI Applications(DAC). We built our Repository on Materialized views we were using with Discoverer so I'm not sure if we have to do the part that creates an Opaque view in our integration of EBS 11i with OBIEE.
    Thanks in advance.
    Leo

    Hi Leo,
    This is an example from an standard Oracle repository:
    select header_id , line_id, fnd_run_function.get_run_function_url(
    CAST(fnd_function.get_function_id('ISC_ORDINF_DETAILS_PMV') AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.RESP_APPL_ID)' AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.RESP_ID)' AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.SEC_GROUP_ID)' AS NUMBER),
    'HeaderId=' || header_id ||'&pFunctionName=ISC_ORDINF_DETAILS_PMV&pMode=NO&pageFunctionName=ISC_ORDINF_DETAILS_PMV',
    null ) LINK
    FROM isc_book_sum2_f
    They use it in an opaque view, so you can reference session variables for login based on your responsibility.
    Good Luck,
    Daan Bakboord
    http://www.obi-forumlive.nl/

  • Hide webpage link URL from browser status bar?

    Anyone know how to hide webpage link URL from the browser
    status bar with Dreamweaver CS4? So that when the mouse cursor
    hovers over a link on a webpage, the URL won't be shown in the
    browser status bar. This comes in useful for when I put my email as
    a link on a webpage but I don't want to let my email address be
    known prematurely. I prefer to do this through the Dreamweaver CS4
    interface without coding, if possible. What is the easiest way to
    hide link URL like this? Thanks.

    More than the anal users. Many people use this information to
    decide
    whether they will click on the link. By hiding it, you remove
    that
    extremely valuable security information - for example, a link
    tells you on
    the screen that it is taking you to www.wachovia.com, but the
    status bar
    link tells you it's taking you to
    www.iamahackersiteandwilldrinkyourmilkshake.cn
    I don't think you want to remove that from your site, unless,
    of course, you
    are the webmaster for
    'iamahackersiteandwilldrinkyourmilkshake.cn....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "joeq" <[email protected]> wrote in message
    news:gib1tf$kn7$[email protected]..
    > it can be done - Behaviors > Set Text > Set Text
    of Status Bar.
    >
    > do what you want, but know that it's somewhat unreliable
    (see the caveat
    > in
    > the DW Behavior box) and that some anal users will
    object to the masking
    > of
    > your links.
    >
    >
    >
    quote:
    Originally posted by:
    ghost zero
    > Anyone know how to hide webpage link URL from the
    browser status bar with
    > Dreamweaver CS4? So that when the mouse cursor hovers
    over a link on a
    > webpage, the URL won't be shown in the browser status
    bar. This comes in
    > useful for when I put my email as a link on a webpage
    but I don't want to
    > let
    > my email address be known prematurely. I prefer to do
    this through the
    > Dreamweaver CS4 interface without coding, if possible.
    What is the
    > easiest way
    > to hide link URL like this? Thanks.
    >
    >
    >

  • Show and Share: Upload video with link URL

    Hi all,
    Is it use to add the video that is in external server? Can you give me an example for upload video in SnS with link URL? My system has Wowza streaming server.
    Thank you.
    Bintasan Mokkamakkul

    Basically, when you want to add\upload a video to Show and Share you can simpy:
    1. Upload the file itself
    2. Use a URL link of where the video content is located.  This is typically a WEB Server url.
    such as:
    http://webserver.company.com/videos/movietrailer.flv

  • Column Link URL - passing items as args

    Hi, probably a syntax problem here but can't seem to pass the items properly. I've got a column with a URL link to an external app which I need to pass htmldb item values to. Currently the hardcoded url for the column looks like:
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=1&e_id=186 " target="_blank
    the d_id and e_id have values contained in HTMLDB items. I tried the &ITEM. and #ITEM# but the url does not include them at runtime.

    Sorry, probabaly not too clear before. The url itself is not obtained from a query but is hardcoded in the column data link of a column 'Location' in a report. It displays an image for the column value with a url link to run our external mapping app:
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=1&e_id=186
    d_id's value is stored in the item P34_D_ID
    e_id's value is stored in the item P34_E_ID
    I'm trying to use a report rows' values for those items and format the url to use those.
    so column link url:
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id="&P34_D_ID."&e_id="&P34_E_ID.
    results in
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id='&P34_D_ID.'&e_id='&P34_E_ID.'
    results in
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=''&e_id=''
    Pretty sure I just don't understand how/when htmldb uses the items values when generating links.

  • Action link URL calling from another screen from the same web server not work

    Hi there,
    I have an action link URL calling from another screen from the same web server, used the following syntax:
    /analytics/saw.dll?Go&path=.....
    But it is not working, when open the page, it shows error message
              Oops! Google Chrome could not find analytics
    Any help? Thanks!
    Ling

    That's a +1 from me... same issue and yes, isn't inelegant or a shortcoming for some might be the cause of boldness as they rip their hair off their head so thanks in advance for keeping the refinement of the magic potions making the EA secret magic sauce... which may help stop hairloss
    Cheers!
    tfbkny

  • Muse Publishing: why do some some menu links URL include an /assets/

    After I publish my site some Menu links include in the link url /assets/file.html which displays incorrectly ie basic text and images all listed not wysywig. Pages that link to html files directly are OK.
    How to I avoid the /assets/name.html urls being created when I publish?
    Thanks

    Muse will put all photos etc into a folder called images... anything else like say an mp3 sound file will be placed into the assets folder.
    When you made this page did you tell Muse to upload the assets? if not then they are prob still on your local system.

  • When I share a link (URL) only Apple computers receive the link. Others such as PCs and Blackberries get the message, but the field which should have the link is blank. Is this normal?  Why can I only send to Apple machines?

    when I "share a link" (URL) using the pulldown menu in Safari, the email goes to all addresses I indicate, but only Apple computers receive the link. Others such as PCs and Blackberries get the message, but the field which should have the link is blank. Is this normal?  Why can I only send to Apple machines?

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • Deep Link URL - Calendar (Monthly)

    Hello,
    Does anybody know how to construct a Deep Link URL so that when users click on that link it displays the Calendar to a specified month and year instead of the current? Let me explain further.
    We've built a calendar page that loads the monthly view by default. We've incorporated filters in the monthly view so users can fine tune the events/info displayed. The administrators of the calendar (from time to time) build marketing collaterals such as eBlasts, Newsletters promoting certain events that have been entered into the system. - they use 'Deep Links' so they can be prescriptive about what users can view.
    The problem is we can't work out how to load a month that is outside of the current month. So for the pruposes of this discussion, let's assume that today is the month of February, is there a way that APEX can load the month of April? Better yet, is there a way that we can load a specific target month and year view?
    This is a example of the deep link we currently use: http://apacsalesenablementcalendar.oraclecorp.com/pls/apex01/f?p=134:27:::::P27_X_COURSETYPE:CDT Oracle Policies and Contracts
    The "P27_X_COURSETYPE": is the search/filter item and "CDT Oracle Policies and Contracts" is the variable that is being queried
    The ver of Application Express is 3.1.0.00.32
    Cheers,
    Glenn
    Edited by: Glenn Maramara on Feb 11, 2013 11:59 AM
    Edited by: Glenn Maramara on Feb 11, 2013 12:00 PM
    Edited by: Glenn Maramara on Feb 11, 2013 12:01 PM

    Hi Glenn,
    Take a look at this http://insum-apex.blogspot.nl/2008/07/apex-calendar-enhanced-behavior.html
    Kees Vlek

Maybe you are looking for