Why the html file doesn't change with applet ?

i am new to java , i get a problem when i am modifying a applet . i recompile it to .class file but did not change its name . and the .html file which use the applet doesn't change with it , it still shows the original style , even when i delete the .class file . it works until i changed the name of the source file and use the different .class file in html . it's troublesome if i need to modify the source file because i must change the name to get it . can you tell me why and how could i avoid this ?

I am new also & had a similar experience.
In my case it was aftercompiling and trying to refresh the browser to get it to display the new version of my applet. I got around this by holding Ctrl down and pressing F5 to refresh.
Also, some of the systems at university cause exactly the problem you describe. Not sure why it should work but we overcame it by placing our files in the JDK folder on those systems & it worked properly. May be worth a try.

Similar Messages

  • The html container doesn't change size according to the width of the website, but instead the width of the window.

    As stated. The html container doesn't change to match the content on the website (like Internet Explorer does), it changes to match the screen size. That way, when you scroll horizontally, elements disappear because the html container is the size of the screen and in a fixed position.
    Example (my problem): http://www.elitepvpers.com/forum/web-development/1847846-question-css-html-width-problem.html
    Happens with most websites such as...
    http://google.com/
    http://co.91.com/index/
    http://www.w3schools.com/
    http://stackoverflow.com

    locked by moderator as dulicate

  • What I need to do? default icon of Firefox didn't seen on the ".html" file.

    default icon of Firefox didn't seen on the ".html" file.
    i have change the icon threw the open with but i didn't work yet.

    Is Firefox set as the default browser in Windows?
    Windows7 has it under Control Panel > Programs >> Default Programs - Set Default Programs -- Set Program Associations.

  • EA Could Not Find The .html File Associated With...

    After naming folder names, I now get the "EA could not find the .html file associated with..." message when I open the .edge file. When I open the .an file, I have all elements and the timeline are gone! How can I restore it? Surely, it is just a question of changing a path, or? Please help. Thanks!

    From the File > Open menu, browse to the that same folder (the newly renamed one), and select the .html file.
    Darrell

  • I can't change shortcuts editing the shortcut file in preferences (mac) with After Effects CC. I Edi

    I can't change shortcuts editing the shortcut file in preferences (mac) with After Effects CC. I Edit the file, but when i open AE, it still the old same keys.
    How to have this working? And why until now, we don't have a GUI for shortcuts?
    I use the Apple Wireless Keyboard, and need to change the preview keys to a suitable ones, because this keyboard don't have the num pad.
    Until CS6, i was using ? and Shift+?, in the place of some kind of Zoom.
    But this time, i edit the file, in a sort of way i tried, and non of then change at all.
    WE NEED A GUI in AE Preferences to CHANGE THE SHORTCUTS!
    Thank You!

    The best way to add a +1 would be for everyone to file a feature request. Those are officially tracked by Adobe (unlike this user-to-user forum) and the more people that ask for something, the more likely it is to be implemented.

  • Files created in DW with slices, how can I email the html files to someone

    Hello,
    I was wondering if someone could help me please? I created my first website in DW CS4. I used Illustrator to create it, added slices, then did the rest in DW. My site is not live yet - I have not yet uploaded the files to the web host. However, I need to email the .html file to someone so that they can see what I have created so far for the site. But when I attach the .html files, the person I send them to cannot view them - when they open the file it is just a bunch of placeholders where the slices are and you can't see the web page at all. I am a newbie to web design so this is probably quite an ignoramus question. I appreciate any help anyone can give me!!

    The best practice is to upload the site to a TEST folder on your  remote server for debugging purposes.  (yourdomain.com/TEST/index.html)
    Then send your client an email with the URL so they can see the site.  When you're done testing & debugging, remove the TEST folder from remote server.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How do i change the HTML file names for existing index

    Hi,
    How do i change my existing HTML file names for indexes. The Html file name is disabled when we click on properties.
    Ex:   Index Keywork : Architecture
            Old HTML Page/URL =: Architecture.htm
    I want to change  Old HTML Page/URL =: Architecture.htm to architecture_new.htm
    Please find the screenshot attached.

    That's because you are looking at the Properties and that is not how you create index entries.
    Highlight the Index keyword ("Paste" in this example). It shows below what is already linked. If you delete that, the keyword will be displayed in bold to show no keyword is attached. You can add further keywords by dragging them from the Topic List.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Problem launching Firefox from Windows with file path that contains space characters in the html file's file name

    We have a software application that programmatically launches the default web browser using the Windows shell execute function ("ShellExecuteA" in the "shell32.dll" library of the Windows API) along with a file path for a saved local html file that is to be displayed. In the case that FireFox is the default browser and the file path for the html file contains any space characters in the html file's file name, Firefox (in this case v7.01) will display an error message "File not Found..." and then will also proceed to open tabs for each of the individual words in the file name, launching as the URL path, each individual word appended to ".com".
    In the following example, the path "C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm" when launched programmatically, resulted in the error message "File not Found...Firefox can't find the file at /C:/KSSecOfState/Forms/Kansas." and opened up browser windows for "http://www.secretary.com/", "http://www.of.com/", "http://www.state.com/", "http://www.and.com/", and attempted to launch "http://forms.htm". If the same file (renamed) is launched using the path string "C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm" the file opens up correctly in Firefox. Clearly the presence of spaces in the file name is causing the problem.
    I should also note that either path (with or without space characters) works properly if pasted directly into the Firefox URL path menu bar for a live instance of Firefox. The test path strings I used were:
    C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm
    C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm
    Does anyone know anything about this problem or how to work around it (other than the obvious answer of taking the spaces out of the file name which is not possible for this application). It seems the problem is specific to Firefox. IE works properly if launched programmatically with spaces in the file name passed to it. I haven't tested other browsers yet.
    Thanks!

    If starting from ShellExecute works the same as starting from the command line then there are two options:<br>
    Put everything inside double quotes<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''"c:\test\svg test.htm"'''<br>
    Convert to a valid url with file:// protocol and percentage-escaping the space<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''file://c:\test\svg%20test.htm'''<br>

  • I am walking through Apples tutorial getting started with iOS development. I am at the storyboard area and can't seem to drag the cancel button to the green exit. I am not sure why the exit button doesn't except it. Is anyone else having this issue?

    I am walking through Apples tutorial getting started with iOS development. I am at the storyboard area and can't seem to drag the cancel button to the green exit. I am not sure why the exit button doesn't except it. Is anyone else having this issue? Is there a work around? I have done this app twice and still cant get the exit to except the Cancel or Done  bar buttons

    Yes I checked it.  As far as I can see I did everything Apple said to do.  I took some screen shot so you can see how the screens are connected and what and where the code is, and what it does when I drag the cancel and done bar buttons to the exit

  • Actionscript not working on the HTML file PLEASE HELP

    Hello,
          I made a website in flash, you can download everything here, because I need this problem fixed by Monday http://www.mediafire.com/?sharekey=e5d0b30598ff413aa0f2f20c509059d9e04e75f6e8ebb871
         The problem is, when I publish the file, and run the html file, the actionscript doesn't work. When I run the project in flash it works perfectly. I do not believe it is the player or anything of that sort that is wrong, although I can not be sure. I've tried this on like 10 different computers, and none were able to load the actionscript. Does anyone know why the actionscript wouldn't be working when I run the html file for the site?
    Please Help, Thank you.

    Hi !
    Don't panic yet
    I think you didn't select the Flash with SFCommand in the HTML tab inside the Template dropdown menu,  that's the reason your Actions Scripts doesn't work in the html view.
    To access hold down CTRL+SHIFT+F12--->HTML tab--->The first dropdown menu at the top
    Hope this solve your problem.

  • I'm looking for the old toolbar that doesn't double post the web adress and only has single line entries and the extension xpi doesn't work with my new computer

    I'm looking for the old toolbar that doesn't double post the web adress and only has single line entries and the extension xpi doesn't work with my new computer

    Mike wrote:
    > Could someone tell me why this prototype-based lightbox
    seems to work on one
    > of my sites but not on the other?
    >
    > I literally took the exact same .js & css files,
    copied them over from one
    > site to the other, but it's only partially working on
    the new site.
    >
    > Works :
    >
    http://www.roxanacampagiorni.com/
    >
    > Doesn't work :
    >
    http://www.vilverset.com/sample.html
    >
    > Been troubleshooting this one for days, and I'm stumped.
    Script wants
    > nothing to do with lightboxing HTML files on the new
    site. Only straight
    > JPGs. But it was written to work with them, and it
    *does* work with them
    > just fine on the *other* site.
    >
    > Where is the anomaly between the two sites that's
    causing it to break in
    > sample.html?
    >
    >
    Not sure if this is relevant but on the page that works you
    have these
    js files linked - 4.....
    <script type="text/javascript"
    src="/scripts/jscripts.js"></script>
    <script type="text/javascript"
    src="/scripts/prototype.js"></script>
    <script type="text/javascript"
    src="/scripts/effects.js"></script>
    <script type="text/javascript"
    src="/scripts/control.modal.2.2.3.js"></script>
    and on the page that doesn't - 3......
    <script type="text/javascript"
    src="/scripts/prototype.js"></script>
    <script type="text/javascript"
    src="/scripts/effects.js"></script>
    <script type="text/javascript"
    src="/scripts/control.modal.2.2.3.js"></script>
    HTT
    chin chin
    Sinclair

  • Modifying the HTML files for a service

    Hi All:
    We are in SAP R/3 4.6c and EP 6.0.  We will be using the standalone ITS for our ESS Services.
    We would like to modify the standard delivered service for edit skills - PZ31_EWT.
    What is the procedure for modifying the HTML files.  Where can we see the HTML files associated with a service ?
    Is it on the ITS side or via SE80?
    Thanks
    Rachel

    Hi Rachel,
    You've just about reached the limits of what I know about changing ESS ITS services I'm afraid.
    I didn't see PZ31_EWT listed under Internet services either so Im guessing the ITS service PZ31 name remains unchanged. If you double click on the top level folder in the tree, called PZ31, the details of the ITS service are displayed. Its not obvious that you can do this as it just looks like a folder, but if you do and select the Parameters tab you can see if lists TRANSACTION=pz31 and WEBTRANSACTIONTYPE =EWT which sounds suspiciously similar to what you were expecting.
    You could test this by putting some text in the PZ31 HTML template, publishing, and checking it is displayed.
    You can (copy and) modify the templates with straight HTML and the Business HTML macro language, which is a bit of a black art but you can access the help via the 'Business HTML overview' button on the toolbar.
    I found a sentence in my handover notes from an ESS guru that reads 'Customization to ESS page layout are not easily done. You need to copy and modify the ITS service and edit the business HTML templates'.
    The only other way I know to modify ESS is through the SPRO transaction.
    Thats about all I can tell you about ESS Im afraid!
    Cheers,
    Steve

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • Firefox when saving a "complete html" file is downloading a folder and "2" copies of the html file not one. One of these has the same name but "0" kb content

    Hi. The only save options for a full html type file on Firefox is as "web page, complete" and as I say when saving with Firefox the program is saving the usual yellow folder with links and artwork files etc, but is saving 2 copies of the HTML file where on of these files is empty, won't open and gets locked to the destination it was saved to. This empty file can't be moved, and can't be deleted. When this is attempted it gives message "cannot delete (or "move" if this is the case) : Cannot read from the source file or disc."
    To overcome this I now use Internet Explorer, dut prefer not to. I have also deleted Firefox from my system and re-installed it, but this did not help. How can I stop this doubling of saved files? and how can I delete the ones that are now fixed to my desktop? can you lease help?

    You said, ''Would like to sort this one out...any clues?''
    Maybe something here will help:
    *http://en.wikipedia.org/wiki/MHTML
    *http://en.wikipedia.org/wiki/Mozilla_Archive_Format
    *http://maf.mozdev.org/
    *http://maf.mozdev.org/documentation.html

  • How to display the HTML File Titles instead of File Names

    Hello All,
    I want to display the HTML file titles instead of File names in the Search Results. I've tried to give this command in the 'Visible Properties' in the 'SearchResourceRenderer' as:-
    Visible Properties: rnd:displayTitle
    However this is not working for me. If anyone has an idea of what to pass here or any other alternative to display the Titles.
    Regards
    Vaib

    Summary of steps:
    1) Standard Layout Set used: SearchResultLayoutSet
    2) Create a new layout set using ADVANCED COPY
    3) Change properties as you require
    4) Next modify the search OTH file to reflect this newly created Layout Set (under KM > root > etc > oth > search.oth edit xml file property rndLaoutSet from SearchResultLayoutSet to MyCustomSearchResultLayoutSet)
    5) Check in the document to complete the editing process if Edit Locally is used!
    6) Lastly, activate the OTH file by –
    •     Setting Debugging settings via Debugging Settings
    •     Performing a normal search
    •     Clicking Rendering information and then following link OTH Overview click on Reload
    7) Reload above reloads the OTH file and performing search again will yield the desired result
    8) To turn off the Rendering Information link remove the user id from Debugging Settings.
    Cheers
    Ankit

Maybe you are looking for

  • Using clobs and ORA-01704: string literal too long

    Hi, I am attempting to add oracle support to an existing J2ee application. The issue I am facing is the use of CLOB datatypes and the 4k string literal limitation that Oracle has. I have dowloaded the 10.2.0.3 thin driver and am connected to a 9i rel

  • A Bad Switch

    Today, when I was listening to my Nano. All of the album artwork was switched to the wrong songs! (most of them at least) Exsample: The All- American Rejects artwork is on a Green Day song! Help me please!

  • Best way- p7-1380t dvi to hdmi connections to a monitor HP w2207h

    Have 2 DVI outputs from computer - current hookup using DVI to VGA. Want to hook up DVI to HDMI. Are there any advantages? and, best way to do it? This question was solved. View Solution.

  • Developer 9i Form in Client/Server

    Dear Friends Can we run our application of Developer 9i in Client/Server mode. (without using Application Server) Amir Sajjad

  • What Version of Micro SD works with the 9310

    I just recently bought a new 64gd micro sd card for my 9310 and each time I put it in, it says "the media card version you inserted is not supported". What does this mean? Does it mean that I have to get a new micro sd card or that the 9310 can't hol