How can I make an applet look to the current directory to read a txt file in?

I am using a File class passing only the file name as the contructor but forte still looks in "C:\forte_jdk\forte4j\bin\Events.txt" which is not my current directory for the project.
If leave it and ftp this applet to my web site I get an IOException.

I always find visual aids helpful. See below for screenshots & discriptions.
01. The Basics
When you create a new site & go into design view (in the example below it's the Home page), you'll see the following.
The white box is your page.
The grey box outside of that is your browser area.
The black & white checkered area is the Adobe Muse CC application chrome.
02. Add Box
Draw / Add your rectangle or text frame (text tool). I drew a rectangle, gave it a fill color of blue & turned the stroke from 1 to 0.
03. Extend & Snap to Browser Edge (Left)
Click, hold  and drag your mouse on the center adorner (adorner is the little squares that you can grab to resize your rectangle) until you resize your rectangle to the browser edge (the dark grey area) until you see a red line. This means you've 'snapped' one of the rectangle's edge to the browser edge.
04. Extend & Snap to Browser Edge (Right)
Repeat the process except do this for the right edge. In truth, it doesn't matter in which order you resize your rectangle to snap to the browser edges. The key thing is to be sure to do this for both sides of the rectangle & snap it to the browser edge (see the red line).
05. You're done! Preview.
06. Bonus!
Once again, you can make rectangles or text frames 100% width, BUT you can't do this with placed images.
However, you can do this with a rectangle or text frame. Then set the Fill of either the rectangle & text frame to be an Image & set the Fitting to 'Scale to Fill.'
(see below for example - I used a rectangle & changed it's Fill property)
Now when I preview, the image is 100% width. In truth, it's a 100% width rectangle with a fill of an image.

Similar Messages

  • How can i make magic bullet looks recognize my second graphic card in my mac book pro 2009

    how can i make magic bullet looks recognize my second graphic card in my mac book pro 2009

    That model MBP gives you a choice of cards to use – one at a time. it is not designed for them to run in tandem - splitting up the workload.
    Russ

  • How can you get an applet to obey the CSS z-index attribute?

    How can you get an applet to obey the CSS z-index attribute?
    I have a DHMTL page with a panel that I want to slide back and forth. But another part of the requirement is to have the panel look like it is sliding under another panel.
    The problem is that an applet is on the panel that slides. When the sliding panel move under the stationary panel the applet does not go under the stationary panel, but the reset of the sliding panel does render looking like it is sliding under.
    See below.
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~           #############***************           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #############^**************           ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    ~ has a z-index of 1
    # and * have a z-index 2
    # shows above ~ and below ^
    ^ has a z-index of 3What I am getting with the applet on the panel with a z-index of 2 is the following
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~           #############***************           ^ -
    - ~           #            ^             *           ^ -
    - ~           #  @@@@@@@@@@@@@@@@@@@@    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @@@@@@@@@@@@@@@@@@@@    *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #############^**************           ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    --------------------------------------------------------Where @ is the applet. Notice how the applet is on top of the ^ but the panel under it, ^, is under like it should be. All the panels are 1x1 tables with a border. So how can I get the applet on the drawing shown with # and * to follow the rendering of the z-index of 2?

    Hi,
    I have the same problem, and don't know how to solve it, So, i had tried to put my applet in a div tag wih z-index=0, but it still hide my other Dhtml divs with bigger Z-index (z-index =1000)
    Have you any idea to solve this.
    Thanks
    Hakim

  • When i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    when i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    Unfortunately, the recording & movie industry does not respect the rights of the people who make them money, and thus you can only use the paid-for content in ways they see fit. Even if I lived in a bunker where no one else could possibly see the movie I paid for, therefor I'm not 'sharing it illegally', I would still not be allowed in a blue moon to copy that movie to DVD for TV viewing. Someone will tell you to get an AppleTV. How about Apple give us one for free? Until this changes, people wanting to use their content in multiple locations will continue to download music & movies via torrents, legally or illegally.

  • How can you make your persona show on the top and bottom? Also can you make it bigger at the top to show more of the picture?

    How can you make your persona show on the top and bottom?
    Also can you make it bigger at the top to show more of the picture?

    Add extra empty toolbars if you want to see more of the persona.<br />
    You can create extra toolbars to get extra space via View > Toolbars > Customize<br />
    You have to put something on a toolbar (drag a Space item onto it) before closing the Customize window because empty toolbars are automatically removed.<br />
    See http://kb.mozillazine.org/Toolbar_customization

  • How can I make a survey automatically identify the user in the results?

    How can I make a survey automatically identify the user in the results (so that it won't be anonymous)?

    I am not sure what information to provide.  Here is what I am trying to do.  I am trying to create an HR questionnaire with multiple choice questions and several multiline textboxes to capture comments.  I want to send it out by email address and/or embed the questionnaire somewhere on the company's intranet website.  But we don't want the questionnaire to be anonymous. If someone makes a particular comment, we want to be able to communicate with the person who made that particular comment.  How would we be able to trace the person? By email address, or by user ID?

  • How can I make an appointment to see the staff to repair

    How can I make an appointment to see the staff to repair

    If in US
    http://www.apple.com/retail/storelist/

  • How can I make Calen Mob pick up the right colors

    How can I make Calen Mob pick up the right colors from Google Calendar. In fact, how can I contact the developer that made Calen Mob Pro. I hear it was Blue tag but they either sold it or dropped it because they make no claim for it.  Does anyone kknow of a group calendar for IOS that will report the color choices as well as the  data? Calenmob Pro just brings in one color for every date and appt. Thanks!

    Where did you get LR2.2? The most recent public version is LR2.1!
    Try an external EXIF reader like EXIFReader.
    Don

  • Realtek network card seems to be disappeared. how can i make it visible again for the OS?

    i can't access my LAN card. somehow it is disappeared. how can i make it visible again for the OS? my OS is windows 7. thanks very much for your help

    right click on the button bar, then select "customize toolbar", drag any button you like into the toolbar and you're done!
    Diego

  • How can I make an image placed in the body tag expand to the entire width of the browser?

    How can I make an image placed in the body tag expand to the entire width of the browser?I

    background-repeat -- best used with small image tiles.
    background-gradient  - Ultimate CSS Gradient Generator - ColorZilla.com
    background-size:cover - Resizable Full Page Background Image
    Nancy O.

  • TS4293 How can I make iMovie to show me the AVCHD files importet by iPhoto?

    My iMovie 11 shows the videos from my iPhone importet by iPhoto, but not all the videos importet the same way from my camera. It works fine with the videos recorded in MP4 but not at all with the AVCHD. How can I make iMovie to show me the AVCHD files? iPhoto imports and shows the AVCHD fine. Also I could import the AVCHD files with iMovie but then they would be twice on my computer and use a  lot of space.
    thanks for your help

    Right now, iMovie won't edit AVCHD wrapped files. You have a few options:
    1. Import the videos with iMovie. Afterwards, you may add the imported movies to iPhoto if you want.
    2. Import the videos with another app. (Too numerous to mention.)
    3. Convert the videos with a third-party tool.
    4. Wait for a future version of iMovie that adds this capability.

  • I only see the phone numbers of my contacts when using iMessage on my MAC, whereas I see the names on my iPhone. Why, and how can I make it so I see the names (and pics) on my MAC?

    I only see the phone numbers of my contacts when using iMessage on my MAC, whereas I see the names on my iPhone. Why, and how can I make it so I see the names (and pics) on my MAC?

    Thanks Eric, but that was already turned on. I just now tried turning it off and on again, no change. Actually, I"m more interested in seeing the names than the pictures. I now only see the phone numbers and generic avatars where pics would be.

  • Everything on all the webpages are so small, and only take up half the screen. How can I make it bigger, without changing the settings on my computer and by that change the size of everything on my computer.

    Everything on all the webpages are so small, and only take up half the screen. How can I make it bigger, without changing the settings on my computer and by that change the size of everything on my computer.

    The Firefox [https://support.mozilla.com/en-US/kb/Page+Zoom Page Zoom] feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox, as with some other browsers.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • How can I make my Apple tv play the music I am listening on my iMac?

    How can I make my Apple tv play the  music I am listening on my iMac? The idea is having same music in two rooms.

    Welcome to the Apple Community.
    In the lower RH corner of iTunes is the Airplay device selctor.
    Click on it, select multiple speakers and check the computer and Apple TV from the list.

  • My calendar is in arabic langauge,how can i make it english?even the chios amount in my poker game it shows squares not numbers.but my ipad is in english already.

    my calendar is in arabic langauge,how can i make it english?even the chips amount in my poker game it shows squares not numbers.but my ipad is in english already.

    Make sure you have set the REGION to one where English is spoken.

Maybe you are looking for

  • Choppy and lagging playback from videos/animations exported from Cs4 (Media Encoder)

    Hello! I got Creative Suite 4 (Production Premium). I usally uses AE and PrePro, saves the project and uses Media Encoder to export the footage. My filmcrew got a Sony HDR-200 (I think) who saves in AVCHD, m2ts full HD. First I edit the clip with Son

  • Help: I'm sure it is a Bug in JNI calling WebLogic EJB

    Help me! I'm using jni to call weblogic EJB from a Com+ component,here is the code: // This is the main project file for VC++ application project // generated using an Application Wizard. #include "stdafx.h" #pragma unmanaged #include <windows.h> #in

  • How do I empty the cache in Mac OS 10.8.5, please?

    How do I empty the cache in Mac OS 10.8.5?  My Safari is 6.2.5.

  • Different levels of privel

    I want to create a group having priv 15 for one NDG's and priv 7 (or below ) for another NDG. In my current setup I have under teh "Enable options" set up one ndg with priv 15 and another ndg with 7. I also have under "Tacacs+ settings" Shell ticked

  • Diagonal Bars - Black Frames

    This is from a project I did about a year ago.  I recently opened it to render some output and found that many of the clips had their end portions covered with these black diagonal lines, and that the underlying video was black frames.  This project