Jbutton is not showing the on down behaviour in JApplet.

Hi All,
When I am opening the applet with appletviewer it showing "on down" behaviour on button when mouse click happend. It is not happening in the same way when I opend the applet in the browser. Here I am giving the small code to test in your environment.
=================TestApplet.htm==========
<html>
<applet code = "TestApplet.class" height="345" width="600">
<PARAM name ="code" value = "TestApplet.class">
<PARAM name ="codebase" value = "D:/checkout">
</applet>
</html>
=================
Applet code starts from here:
import javax.swing.*;
import java.awt.*;
import java.io.*;
import java.util.*;
public class TestApplet extends JApplet
JRadioButton RadioTop = new JRadioButton();
JRadioButton RadioBtm = new JRadioButton();
JButton BtnGo = new JButton();
public void init()
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
private void jbInit() throws Exception {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch(Exception e) {
System.out.println("Error setting native LAF: " + e);
getContentPane().setLayout(null);
getContentPane().setBackground(java.awt.Color.white);
setSize(676,400); //576,397
RadioTop.setText("Top");
RadioTop.setActionCommand("Top");
RadioTop.setBackground(java.awt.Color.white);
RadioTop.setForeground(new java.awt.Color(0,0,102));
RadioTop.setFont(new Font("Dialog", Font.BOLD, 12));
RadioTop.setBounds(60,19,72,24); //84,19,72,24
RadioTop.setBounds(new Rectangle(55, 6, 50, 20));//43
RadioBtm.setText("Bottom");
RadioBtm.setBackground(java.awt.Color.white);
RadioBtm.setForeground(new java.awt.Color(0,0,102));
RadioBtm.setFont(new Font("Dialog", Font.BOLD, 12));
RadioBtm.setBounds(60,43,72,24);
RadioBtm.setBounds(new Rectangle(54, 25, 72, 24));
ButtonGroup groupTopBtm = new ButtonGroup();
groupTopBtm.add(RadioTop);
groupTopBtm.add(RadioBtm);
BtnGo.setText("Go >>");
BtnGo.setActionCommand("Go>>");
BtnGo.setFont(new Font("Dialog", Font.BOLD, 12));
BtnGo.setBounds(468,24,68,23);
BtnGo.setBounds(new Rectangle(300, 5, 68, 23));
BtnGo.setBackground(new java.awt.Color(51,102,153));//00,66,115
BtnGo.setForeground(java.awt.Color.white);
BtnGo.setBorder(BorderFactory.createBevelBorder(0,java.awt.Color.white,java.awt.Color.gray));
this.getContentPane().add(RadioTop);
this.getContentPane().add(RadioBtm);
this.getContentPane().add(BtnGo);
******************TestApplet.java******
Copy the applet,compile and invoke the applet with the above .htm after changing the code base and see is there any "on down" behaviour when you press the go button.
Run the same applet using the appletviwer and test the same thing to notice difference.
Please let me know how to enable the "on down" behaviour on buttons without adding much code.
Thanks in advance.

I am also suffering from this. It is happening with every account (four) on the computer. I can't get the CD out, either. I've tried re-setting the Finder prefs re: CDs and DVDs, and the Sys Prefs re: what to do with a blank disk. The disk does not come out upon restart and holding the mouse button.
This is relatively recent, past four months or so, and it seems to be it's been since I installed 10.5.7.
Any ideas above and beyond what is in this thread? I'd love it to be a software problem and not have to take this thing in for replacing a drive.
Thanks tons,
Carlos Alden

Similar Messages

  • TS3276 the images (attachments) are automatically resized (smaller) when I send them to a customer. My email screen does not show a drop down menu box where you can leave as actual size. Is there a setting elsewhere that can be set.

    Any suggestions on problem I have. I receive images, say a file that is 3 mgs through email on Safari mail and when I try to resend it or forward it or any other larger file, when it sends the file is reduced by about 1/3. My screen does not show and drop down menu with a feature to keep actual size or reduce that is suggested when I looked up solutions to the problem.  I can't find a setting anywhere in mail that I can change to make sure my files are kept at actual size. I figure a setting got changed -don't know how - but it happened about a month ago. Caused problems as I work in graphics can't send files to clients as they come out too small. Any suggestions on how to fix.
    Thanks

    What email program are you using? And what do you mean by "Safari mail"?

  • My wife ran the battery down in her shuffle.  When I plug it in to the wall or computer, it will blink red solid for about 3 seconds and then shut off.  Is the battery that dead, or is something else wrong.  ITunes does not show the shuffle

    My wife ran the battery down in her shuffle.  When I plug it in to the wall or computer, it will blink red solid for about 3 seconds and then shut off.  Is the battery that dead, or is something else wrong.  ITunes does not show the shuffle

    Hi Jennsman40,
    Welcome to Apple Support Communities.
    If this symptom persists even after you charge your iPod Shuffle, see this page for some troubleshooting steps:
    http://www.apple.com/support/ipodshuffle/assistant/itunes/
    Best,
    Jeremy

  • Not showing the Data in VC application

    Hi I have developed the application in VC.
    It is showing the data some times , it is not showing the data. Can u please let me know what is the problem.
    when i checked using the Test Data service . It is showing the data. Then i have developed step by step, in between the time i use to run the application , it was showing the data. finally i have assigned to some role and user id. then also it is showing the data.
    Next day after i run the application , it is not  showing the data. displaying the message .
    "No Data Found".
    But when i run  the BAPI at the back end R/3 it is giving the data properly.
    Can u tell me what might be the problem
    REgards
    Vijay

    Hi Krishna,
    check the logs in the NWA. It seems that your connection is broken down sometimes, maybe a timeout. How many records does your data service return?
    Check it with external debugging of the BAPI, when you can reconstruct the error.
    Best Regards,
    Marcel

  • Why this query does not show the result?

    Why the query with the schema prefixed does not show the result and the query without schema display the correct results?
    SQL> select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS';
    select data_object_id,object_type from dba_objects where object_name='HR'.'JOBS'
    ERROR at line 1:
    ORA-00933: SQL command not properly ended
    SQL> select data_object_id,object_type from dba_objects where object_name='HR.JOBS';
    no rows selected
    SQL> select data_object_id, OWNER, object_type from dba_objects where object_name='JOBS';
    DATA_OBJECT_ID     OWNER                          OBJECT_TYPE
    69662              HR                                 TABLE
                       OE                                 SYNONYM
    SQL> SELECT USER FROM DUAL;
    USER
    SYS

    Hi,
    the column object_name refers to a object_name which is 'JOBS', the column owner refers to the owner 'HR', the value isn't stored together, so you have to select the two columns. It is the same behaviour as every other table/view. Have a look at the values in the view DBA_OBJECTS.
    Herald ten Dam
    Superconsult.nl

  • I am installing snow leopard on a new drive unformatted but it does not show the disk to install it on.? do i need to format first with one partition?

    I have installed a new drive on my mac book and more ram but the snow leopard install asks which to install the system on but then does not show the drive.
    do I have to partition it and name it first. -- if so just one partition?

    Do this:
    Drive Preparation
    1.  Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    When formatting has completed quit DU and return to the installer.  Complete the OS X installation.

  • Spotlight does not show the path or location of a file anymore when hovering with the mouse over the file

    in Leopard Spotlight used to show you the path /location  of a file when you stayed with the mouse over the result. As sometimes I just look for the location of a file not to open it like a mp3 file. It would be nice to have a opiton in spotlight to contorl or right click a file and then give the option to say show in finder. that only works when you have your results show up in finder first and takes a bit longer. or maybe in the new prieview window to show the loaation or give you opitons what to do with the file
    Just an idea to spotlight even better

    When you hover over a file in spotlight list (or select with up/down arrow) you can also hit command-R to open the folder where the file is located. Kind of like 'Show Original' for aliases.
    But yeah, Apple really needs to just show the directory path on the hover pop-up by default. Obviously, when you do a search you'll most likely get several files with the same name - we need to see the locations to tell them apart. One of the main reasons to do a file search is to simply find out 'where the file is located' - not necessarily open the file. Seems pretty shortsighted to not show the file location in the search result.

  • Router 7606 does not show the inventory for the Fan module

    I have a issue with a router 7606, specifically with  fan module, the LC go down because it does have sufficiently cooling , I changed the Fan module, the IOS, The power supply, and I still have the same issue, Besides the Router does not show the inventory or PID  for module fan, 
    logg" system minor alarm on operating fan count"
    Someone knows what could be happening,

    Check this:
    Can you try this;
    7606-01#show environment status fan-tray 1
    fan-tray 1: 
      fan-tray 1 type: FAN-MOD-6SHS
      fan-tray 1 mode: Auto
      fan-tray 1 fan-fail: OK
    7606-01#show power
    Fan  Type               Watts   A @42V State
    1    FAN-MOD-6SHS        180.18  4.29  OK............................ FAn try
    If above doesnt work then try the below link:
    https://supportforums.cisco.com/discussion/10824271/7606-s-and-fan-module-6shs-version-1
    HTH
    inayath
    *Plz dont forget to rate if this info is helpfull.

  • I have my macbook pro 17" 2.5 Quad. Core. i7,750GB HDD 5400rpm, 4gb ram, amd radeon 1gb dedicated graphics with intel hd graphics 3000,antiglare screen when i turned on my laptop and see the specs is not showing the 1gb graph. only 512mb is there anybody

    pls help...

    I have the same machine, except it's running the blessed fast Snow Kitty,
    "when I turn on my laptop and see the specs is not showing the 1gb graph, only 512mb is there"
    What specs are you refering about?
    Hold the command shift and 4 keys down, draw a box around what your seeing and upload the desktop image in your post response here.

  • I have my macbook pro 17" 2.5 Q.C. i7,750GB HDD 5400rpm, 4gb ram, amd radeon 1gb dedicated graphics with intel hd graphics 3000,antiglare screen when i turned on my laptop and see the specs is not showing the 1gb graph. only 512mb.

    i have my macbook pro 17" 2.5 Quad. Core. i7,750GB HDD 5400rpm, 4gb ram, amd radeon 1gb dedicated graphics with intel hd graphics 3000,antiglare screen when i turned on my laptop and see the specs is not showing the 1gb graph. only 512mb is there anybody out there have the same problem please how can i know or is there any other way to be sure what's the real capacity of my graphics?take note this is brand new late 2011 model made to customize MD311 with anti glare screen...

    I have the same machine, except it's running the blessed fast Snow Kitty,
    "when I turn on my laptop and see the specs is not showing the 1gb graph, only 512mb is there"
    What specs are you refering about?
    Hold the command shift and 4 keys down, draw a box around what your seeing and upload the desktop image in your post response here.

  • The home page does not show the awesome bar or file,edit,view,history,ect.

    The home page does not show the awesome bar or the file,edit,history,bookmarks,tools or help options anymore. how can I get these feature to come back up. All it shows now is latest headline & getting started.

    * In Firefox 3.6 versions on Windows and Firefox 4 on Windows and Linux it's possible to hide the "Menu Bar" via "View > Toolbars" or via the right-click context menu of a toolbar.
    * Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.
    * Go to "View > Toolbars" or right-click the "Menu Bar" or press Alt+V T to select which toolbars to show or hide (click on an entry to toggle the state).
    See also:
    * [[Menu bar is missing]]
    * http://kb.mozillazine.org/Toolbar_customization

  • Hi there! I have a problem with my iphone 4! i can't share my contacts because its not showing the share contact bar at all-it only shows "send message"!! i have the ios 6.1.3

    Hi there! I have a problem with my iphone 4! i can't share my contacts because its not showing the share contact bar at all-it only shows "send message"!! i have the ios 6.1.3

    Try restarting your phone while you hold down the power AND the sleep button at the same time.
    This defenitly is a software bug and normally there should be this button.

  • I use gmail and some emails I get do not show the graphic or picture only a small graphic icon.

    I use gmail for my email. Some of the emails I receive do not show the graphic or photo. I can see the graphic/photo in Internet Explorer and when I hit reply in Firefox. This started happening about 5 months ago. I used to be able to see the emails with no problem... I have checked all options and do have display images turned on. This happens with every email from a yahoo group and some other emails as well. I have the latest version of Firefox. I tried uninstallng and reinstalling firefox... no change.
    == This happened ==
    Every time Firefox opened
    == about 5 momths ago

    Check the image exceptions: Tools > Options > Content: Load Images: Exceptions - See [[Options window - Content panel]]
    A way to see which images are blocked is to click the favicon (''Site Identification'' icon) on the left side of the location bar and click the "More Information" button.
    This will open the Security tab of the ''Page Info'' window (also accessible via Tools > Page Info).
    Go to the ''Media'' tab of that Page Info window.
    Select the first image and scroll down though the list with the Down arrow.
    If an image is grayed and there is a check-mark in the box ''Block Images from...'' then remove that mark to unblock the images from that domain.
    See also [[Images or animations do not show]] and http://kb.mozillazine.org/Images_or_animations_do_not_load

  • After update to IOS 6.0, on the iPhone 4 and 4s, emails can not be forwarded. I tried to resync, but the update does not show the forwarding buttons anymore.

    After update to IOS 6.0, on the iPhone 4 and 4s, emails can not be forwarded. I tried to resync, but the update does not show the forwarding buttons anymore.

    Have the same issues here, 3GS 5.0.1. Did you find any solutions until today ?
    I restored my phone, power up/down but nothing helps with my issues
    greetings
    /Edit:
    Maybe I should read carefully your text so I can give you some more information.
    my phone was updated via itunes.
    some hours ago the phone charged up to 5% but than directly draining to zero...
    can't help me with these issues...

  • Field Explorer in Crystal Reports does not show the same names as Bex Query

    Hi
    I have crystal reports, I can retrieve data from BW Bex Query. But in the field explorer it does not show the names as in the Bex query designer.
    In the Bex query designer a field will have the following technical name 0Debitor and the description is Customer.
    It shows in crystal reports in the field explorer twice as D[0DEBITOR]D and D[0DEBITOR]D. It also does not seperate key figures and characteristics.
    I would like it to display the field explorer as shown in this blog.
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Thanks in advance

    Hi,
    take a look here:
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    make sure you are using the MDX Driver and what happens is that you will see several fields per characteristic. example: one for the key, one for the description, several if modelled for the display attributes
    Ingo

Maybe you are looking for