My GUI doesn't listen to me.

I am have difficulty understanding how to debug my gui. could somebody please point out what I should do. I don't get any errors in my eclipse ide console nor any errors, but it doesn't seem to do what i'm expecting it to do.
import java.awt.*;
import java.awt.event.*;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JTextField;
public class AL extends Frame implements WindowListener,ActionListener {
     /*Variables*/
     private JFrame frame1 = new JFrame("heyo"); //81 square entries
     private JFrame frame2 = new JFrame("picini"); //Buttons + frame1
     private JButton solve = new JButton("Solve");
     private JButton check = new JButton("Check");
     private JTextField[] entry = new JTextField[81];
     public final static boolean RIGHT_TO_LEFT = false;
     /*Main*/
     public static void main(String[] args) {
          AL myWindow = new AL("test");
          myWindow.setSize(350,100);
          myWindow.setVisible(true);
     /*Constructor*/
     public AL(String bean) {
          // build gui
          super(bean);
          try{
               if (RIGHT_TO_LEFT){
                      this.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
                this.setLayout(new GridLayout(2,1));
          addWindowListener(this);
          solve.addActionListener(this);
          check.addActionListener(this);          
          add(solve);
          add(check);
          catch(Exception e){
               System.out.println("there is a button_gui building error: "+ e.getMessage());
/*Action Performed*/
     public void actionPerformed(ActionEvent e) {
          if(e.equals(solve)){
               System.out.println("Solve");
          else if(e.equals(check)){
               System.out.println("Checking...");
/*Window Listener*/
     public void windowClosing(WindowEvent e) {
          dispose();
          System.exit(0);
     public void windowOpened(WindowEvent e) {}
     public void windowActivated(WindowEvent e) {}
     public void windowIconified(WindowEvent e) {}
     public void windowDeiconified(WindowEvent e) {}
     public void windowDeactivated(WindowEvent e) {}
     public void windowClosed(WindowEvent e) {}
}

Michael pointed out to you a problem in your code, but to be able to pinpoint where the problems are occurring, you need to add code which displays messages when unexpected behavior occurs. For example:
In the actionPerformed part of your code, there is a simple statement you could have added while debugging that would have pointed you to where you went wrong.
public void actionPerformed(ActionEvent e) {
          if(e.equals(solve)){
               System.out.println("Solve");
          else if(e.equals(check)){
               System.out.println("Checking...");
                else{
                        System.err.println("Action not handled by the action listener.");
     }

Similar Messages

  • FireFox starts, process shows in task manager, GUI doesn't appear.

    Well I just installed windows 7 pro 64 bit. Installed firefox 3.6.13. Worked fine (Using my 8years old profile). Then in mean time SP1 finished installing. After reboot firefox doesn't work. Nor the profile manager (firefox -p) nor the safe mode (firefox -s) nor normal mode. All those make firefox process show up in task manager, but no GUI. Same goes for firefox 4 beta. All versions of 3.6.4 up (so all versions with plugin container) and 4 beta I can find and download behave the same. Even some 3.7 alpha 5 thingy. Only version that works without troubles is 3.5.x and 3.6 up to 3.6.3 I'm on atm. I totally don't get it why its happening. Same profile with 3.6.4+ and 4 beta works fine on my sis laptop on same windows, with same updates. Actually first time it happened was on 32bit version of windows 7 pro. Firefox 3.6.11 (there weren't any newer version out yet) just stopped to work with issues like above described after one of windows updates. Cant pin point which one now cuz it was months ago. My rig is E8200, 6GB DDR2 1066cl5 ram, Gigabyte Ep45-Ds3r, ati 4850. I cant point anything else than just some windows 7 pro update, hardware and plugin container incompatibility. 1 in a million chance that makes this happen and of course I'm the happy winner of firefox issues ^_^. For people asking to switch of plugins and testing other profile. If I downgrade to 3.5 or 3.6.3 change profile to naked new one, then upgrade to 3.6.4+ or 4 beta, and exactly same stuff happens: no GUI, firefox process in tasks with 10-20 threads, and 7-30MB loaded into memory (depending on version, mode used).

    Well I write once again. This time I have solution to my problem. Its HDTunePro 4.5. I admit I do have an not so legit version, and it seems its loaded with some crap, or the HDTunePro itself is. Thing is, after reinstalling whole OS (Win 7 Pro 64bit). With everything: drivers, games, programs. Everything worked, ACDSee, FF4.0, and so on. Then after installing HDTune - magic: FF, ACDSee stopped to work the same way it was before. In a process of finding out what exactly is at fault here (cuz I did install few windows updates with HDTune) I found few things: First, installing that HDTune from its install file, makes FF, ACDSee not work (the loading issue with programs stuck in task manager). But whats funny HDTune itself have the same issue (15 day trial - doesnt boot up more than process in task manager). Patching it with that not so legit thingy makes HDTune work, but all other stuff not. So solution is simple, not using HDTune Pro, at least 4.5 non legit version (HAHA theres a lesson here to not pirate software). Or do a work around - make system restore point, install HDTune, patch it, change extension of exe file (so it will not be *.exe), restore OS to that restore point, change exe extension back to *.exe, done. After this HDTune and all other stuff works.

  • Logic audio unit bridge unresponsive/gui doesn't show up properly

    Hi there, having a problem running some 32 bit plugins while running logic in 64 bit mode.
    For those who are familiar with the Audio Unit bridge, when clicking on a 32 bit plug-in it brings up this grey window which prompts another click to bring up the interface. When I click on here the GUI appears for a split second then disappears again or sometimes doesn't appear at all. Noteably, the plugins still allow audio through, it is just the interface won't appear.
    After a while of having a project open, I have also experienced Logic giving me this message presumably due to the same problem:
    It lists all the 32 bit plugins used within the project and says they are unavailable, crossing them out in the logic mixer and removing them from the audio unit manager.
    I have tried removing the logic .plist file which allows the loading of the plugins again but not does not solve the problem of the unresponsive GUI.
    Really lumbered by this one, any potential resolution much appreciated.
    Thanks
    A

    this might be a graphic issue with my 2013 macbook pro retina 2.8gig
    i went to preferences and changed the display type... the plugin then shows up. but left in any one of the modes, if i take out the plugin and recall it the same issues remain. Maybe my graphic card is failing

  • Mshttpd runs but doesn't listen

    The version info:
    This is effectively a new installation. User accounts and mailstore were migrated from a previous system running 5.2hf1.21.
    iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)
    libimta.so 5.2 Patch 2 (built 19:30:12, Jul 14 2004)
    SunOS mserv1 5.9 Generic_117171-14 sun4u sparc SUNW,Sun-Fire-V440
    Some other config related info:
    running Sun Cluster 3.1 and HAstoragePlus, ie no globally mounted filesystems. Also, I wanted the ability to bounce the ldap server independant of iMS, so the ldap resource is NOT listed as a dependancy of the ha-ims resource. (yeah, I know it's not what the "book" says. :-))
    I'm running IMAPS and HTTPS using a cert signed by our own CA. This CA has signed certs for quite a few other products, including DS5p2 and they all work fine.
    Now here's the problem. The mshttpd and imap daemons don't maintain the SSL listener. I have HTTPS running on port 444 (because its one more and a web server runs on the other half of the cluster). The imaps runs on the default, 993. The imap and http logs show no indication of it failing to start nor any other problem. I should add that it appears the SSL listener doesn't start, but the non-ssl listener works fine.
    The odd part is that sometimes the SSL enabled daemons will start-up and run properly. We only have about 600 users. They currently use imap and I want to get them on imaps and/or https. Any ideas?
    One more question. Is it possible to truss these processes? Currently, I can't because the HA agent effectively puts a trace on the process and truss comes back with an error. Any workaround to this?
    Thanks,
    Roger S.
    Here's my configutil with all the ssl settings:
    encryption.nsssl3 = on
    encryption.nsssl3sessiontimeout = 0
    encryption.nssslclientauth = 0
    encryption.nssslsessiontimeout = 0
    encryption.rsa.nssslactivation = on
    encryption.rsa.nssslpersonalityssl = Server-Cert
    encryption.rsa.nsssltoken = "internal (software)"
    local.ldapusessl = False
    service.http.enablesslport = yes
    service.http.sslcachesize = 0
    service.http.sslport = 444
    service.http.sslusessl = yes
    service.imap.enablesslport = yes
    service.imap.sslcachesize = 0
    service.imap.sslport = 993
    service.imap.sslusessl = yes
    http settings:
    service.http.allowadminproxy = no
    service.http.allowanonymouslogin = no
    service.http.enable = true
    service.http.enablesslport = yes
    service.http.fullfromheader = no
    service.http.idletimeout = 20
    service.http.ipsecurity = yes
    service.http.maxmessagesize = 104857600
    service.http.maxpostsize = 5242880
    service.http.maxsessions = 1000
    service.http.maxthreads = 250
    service.http.numprocesses = 1
    service.http.plaintextmincipher = 40
    service.http.port = 81
    service.http.resourcetimeout = 900
    service.http.sessiontimeout = 18000
    service.http.smtphost = apsmail.aps.anl.gov
    service.http.smtpport = 25
    service.http.spooldir = /global/ims/ims52/msg-atlas/http
    service.http.sslcachesize = 0
    service.http.sslport = 444
    service.http.sslusessl = yes
    imap settings:
    service.imap.allowanonymouslogin = no
    service.imap.banner = "%h %p service (%P %V)"
    service.imap.enable = yes
    service.imap.enablesslport = yes
    service.imap.idletimeout = 30
    service.imap.maxsessions = 1000
    service.imap.maxthreads = 250
    service.imap.numprocesses = 1
    service.imap.plaintextmincipher = 0
    service.imap.port = 143
    service.imap.sslcachesize = 0
    service.imap.sslport = 993
    service.imap.sslusessl = yes

    I restarted the server, most recently, at 1:30pm Eastern.
    I've configured service.http.sslport = 843 since 443 is already in use by other service.
    A telnet to port 843 results in:
    telnet: Unable to connect to remote host: Connection refused
    This has been a problem for two days. I've just started to configure the messaging server to use SSL.
    iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)
    libimta.so 5.2 Patch 2 (built 19:30:12, Jul 14 2004)
    SunOS mailhost1 5.8 Generic_117350-16 sun4u sparc SUNW,Ultra-4
    IMAP and POP are currently working, howerver, not over SSL. netstat -rn does not show listener IMAPS port 993 or HTTPS port 843
    Messages are being delivered to the maillstore.
    dean

  • Gui doesn't show when the Thread is dispatched from the main class

    Hi all,
    I've tried to write a file unzipper class that shows a small frame with 2 progress bars.
    The unzipper extends Thread class in order to make it an independant service.
    However, when I debug it and use a main function that's written within the class, it works fine, and when I run it by calling it from another main, I only see a frame where the progress window should be, but no window.
    Does anyone know what I'm doing wrong? (About the GUI, I know my unzipper isn't the most efficient one:
    import javax.swing.*;
    import java.awt.*;
    import java.io.*;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipFile;
    import java.util.zip.ZipInputStream;
    * User: Administrator
    * Date: 14/10/2005
    * Time: 18:26:47
    * This is a file Unzipper;
    * It takes a zipped archive, reads it, and decompresses the files within it
    * It is a stand alone thread since the user doesn't need to wait for it or whatever;
    * It also shows a nice progress bar gui for the user to know how the decompressing works
    public class FileUnZip extends Thread{
    private ZipEntry zipEntry;
    private ZipInputStream zipInStream;
    private FileInputStream fileInputStream;
    private int sChunk=8192;//8KB buffer size for optimized i/o performance
    private byte[] buff;
    private FileOutputStream entryOutputStream;
    private BufferedOutputStream bufferedOutputStream;
    private String sourceArchiveName;
    private String targetDirectoryName;
    private String targetFileName;// a string that stores the current zipped file in the archive
    private ZipFile zipFile;
    private int zipEntriesNum;
    private int readsNumber;//for knowing how many i/o approaches are required
    //for progress bar gui:
    private JProgressBar overAllProgBar;
    private JProgressBar currentFileProgBar;
    private JPanel progPanel;
    private JLabel overAllLabel;
    private JLabel currentFileLabel;
    private int currFileValue=0;
    private int currEntryValue=0;
    private JFrame progFrm;
    //constructor that produces the output in the same directory as source
    public FileUnZip(String sourceArchiveN) {
    sourceArchiveName = sourceArchiveN;
    targetDirectoryName=sourceArchiveName.substring(0,
    sourceArchiveName.length()-4);//trim ".zip"
    // for clean directory name
    File dir=new File (targetDirectoryName);
    dir.mkdir();
    this.start();
    //constructor that produces the output in the given targetDir... directory
    public FileUnZip(String sourceArchiveN, String targetFileN) {
    sourceArchiveName = sourceArchiveN;
    targetDirectoryName = targetFileN.substring(0,targetFileN.length()-4);
    // for clean directory name
    File dir=new File (targetDirectoryName);
    dir.mkdir();
    this.start();
    public void initGui(){
    JFrame.setDefaultLookAndFeelDecorated(true);
    progFrm = new JFrame("Extracting " + sourceArchiveName);
    progPanel = new JPanel(new GridLayout(2,2));
    overAllLabel = new JLabel("<html><body><font size=4 color=red>Over All"+
    "</color></size><font><body><html>");
    progPanel.add(overAllLabel);
    overAllProgBar = new JProgressBar(currEntryValue, zipEntriesNum);
    overAllProgBar.setStringPainted(true);
    progPanel.add(overAllProgBar);
    currentFileProgBar = new JProgressBar(currFileValue, sChunk);
    currentFileProgBar.setStringPainted(true);
    currentFileLabel = new JLabel("<html><body>" +
    "<font size=4 color=red>Current file"+
    "</color></size><font><body><html>") ;
    progPanel.add(currentFileLabel);
    progPanel.add(currentFileProgBar);
    progFrm.getContentPane().add(progPanel);
    progFrm.pack();
    progFrm.setResizable(false);
    progFrm.setVisible(true);
    public void initStreams(){
    try {
    zipFile = new ZipFile(sourceArchiveName);
    zipEntriesNum=zipFile.size();// get entries number from the archive,
    //used for displaying the overall progressbar
    } catch (IOException e) {
    System.out.println("can't initiate zip file");
    if (zipFile!=null) {
    try {
    zipFile.close();
    } catch (IOException e) {
    System.out.println("zip file never initiated");
    try {
    fileInputStream = new FileInputStream(sourceArchiveName);
    } catch (FileNotFoundException e) {
    e.printStackTrace();
    zipInStream = new ZipInputStream(new BufferedInputStream(
    fileInputStream));
    buff=new byte[sChunk];
    public void start(){
    initStreams();
    initGui();
    run();
    public void run(){
    File outputFile;
    int succeededReading=0;
    try {
    while((zipEntry = zipInStream.getNextEntry())!=null){
    overAllProgBar.setValue(++currEntryValue);
    readsNumber=(int)zipEntry.getSize()/sChunk;
    currentFileProgBar.setMaximum(readsNumber);
    targetFileName=targetDirectoryName +
    File.separator + zipEntry.getName();
    outputFile=new File(targetFileName);
    System.out.println("outputFile.getAbsolutePath() = "
    + outputFile.getAbsolutePath());
    if(!outputFile.exists()){
    outputFile.createNewFile();
    entryOutputStream=new FileOutputStream(outputFile);
    bufferedOutputStream = new BufferedOutputStream(
    entryOutputStream, sChunk);
    while((succeededReading=zipInStream.read(
    buff,0,sChunk))!=-1){ //extract single entry
    bufferedOutputStream.write(buff,0,succeededReading);
    currentFileProgBar.setValue(++currFileValue);
    bufferedOutputStream.flush();
    bufferedOutputStream.close();
    entryOutputStream.flush();
    currFileValue = 0;
    } catch (IOException e) {
    e.printStackTrace();
    finalize();
    public void closeStreams(){
    try {
    zipInStream.close();
    } catch (IOException e) {
    e.printStackTrace();
    try {
    fileInputStream.close();
    } catch (IOException e) {
    e.printStackTrace();
    if (entryOutputStream!=null) {
    try {
    entryOutputStream.flush();
    entryOutputStream.close();
    } catch (IOException e) {
    System.out.println("entry stream never opened");
    if(bufferedOutputStream!=null){
    try {
    bufferedOutputStream.flush();
    bufferedOutputStream.close();
    } catch (IOException e) {
    e.printStackTrace();
    public void finalize(){
    try {
    super.finalize();
    } catch (Throwable throwable) {
    throwable.printStackTrace();
    progFrm.dispose();
    closeStreams();
    endTask();
    private void endTask(){
    //play a sound when task is complete
    java.awt.Toolkit.getDefaultToolkit().beep();
    }

    import javax.swing.*;
    import java.awt.*;
    import java.io.*;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipFile;
    import java.util.zip.ZipInputStream;
    * User: Administrator
    * Date: 14/10/2005
    * Time: 18:26:47
    * This is a file Unzipper;
    * It takes a zipped archive, reads it, and decompresses the files within it
    * It is a stand alone thread since the user doesn't need to wait for it or whatever;
    * It also shows a nice progress bar gui for the user to know how the decompressing works
    public class FileUnZip extends Thread{
        private ZipEntry zipEntry;
        private ZipInputStream zipInStream;
        private FileInputStream fileInputStream;
        private int sChunk=8192;//8KB buffer size for optimized i/o performance
        private byte[] buff;
        private FileOutputStream entryOutputStream;
        private BufferedOutputStream bufferedOutputStream;
        private String sourceArchiveName;
        private String targetDirectoryName;
        private String targetFileName;// a string that stores the current zipped file in the archive
        private ZipFile zipFile;
        private int zipEntriesNum;
        private int readsNumber;//for knowing how many i/o approaches are required
    //for progress bar gui:
        private JProgressBar overAllProgBar;
        private JProgressBar currentFileProgBar;
        private JPanel progPanel;
        private JLabel overAllLabel;
        private JLabel currentFileLabel;
        private int currFileValue=0;
        private int currEntryValue=0;
        private JFrame progFrm;
    //constructor that produces the output in the same directory as source
        public FileUnZip(String sourceArchiveN) {
            sourceArchiveName = sourceArchiveN;
            targetDirectoryName=sourceArchiveName.substring(0,
                    sourceArchiveName.length()-4);//trim ".zip"
    // for clean directory name
            File dir=new File(targetDirectoryName);
            dir.mkdir();
            this.start();
    //constructor that produces the output in the given targetDir... directory
        public FileUnZip(String sourceArchiveN, String targetFileN) {
            sourceArchiveName = sourceArchiveN;
            targetDirectoryName = targetFileN.substring(0,targetFileN.length()-4);
    // for clean directory name
            File dir=new File(targetDirectoryName);
            dir.mkdir();
            this.start();
        public void initGui(){
            JFrame.setDefaultLookAndFeelDecorated(true);
            progFrm = new JFrame("Extracting " + sourceArchiveName);
            progPanel = new JPanel(new GridLayout(2,2));
            overAllLabel = new JLabel("<html><body><font size=4 color=red>Over All"+
                    "</color></size><font><body><html>");
            progPanel.add(overAllLabel);
            overAllProgBar = new JProgressBar(currEntryValue, zipEntriesNum);
            overAllProgBar.setStringPainted(true);
            progPanel.add(overAllProgBar);
            currentFileProgBar = new JProgressBar(currFileValue, sChunk);
            currentFileProgBar.setStringPainted(true);
            currentFileLabel = new JLabel("<html><body>" +
                    "<font size=4 color=red>Current file"+
                    "</color></size><font><body><html>") ;
            progPanel.add(currentFileLabel);
            progPanel.add(currentFileProgBar);
            progFrm.getContentPane().add(progPanel);
            progFrm.pack();
            progFrm.setResizable(false);
            progFrm.setVisible(true);
        public void initStreams(){
            try {
                zipFile = new ZipFile(sourceArchiveName);
                zipEntriesNum=zipFile.size();// get entries number from the archive,
    //used for displaying the overall progressbar
            } catch (IOException e) {
                System.out.println("can't initiate zip file");
            if (zipFile!=null) {
                try {
                    zipFile.close();
                } catch (IOException e) {
                    System.out.println("zip file never initiated");
            try {
                fileInputStream = new FileInputStream(sourceArchiveName);
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            zipInStream = new ZipInputStream(new BufferedInputStream(
                    fileInputStream));
            buff=new byte[sChunk];
        public void start(){
            initStreams();
            initGui();
            run();
        public void run(){
            File outputFile;
            int succeededReading=0;
            try {
                while((zipEntry = zipInStream.getNextEntry())!=null){
                    overAllProgBar.setValue(++currEntryValue);
                    readsNumber=(int)zipEntry.getSize()/sChunk;
                    currentFileProgBar.setMaximum(readsNumber);
                    targetFileName=targetDirectoryName +
                            File.separator + zipEntry.getName();
                    outputFile=new File(targetFileName);
                    System.out.println("outputFile.getAbsolutePath() = "
                            + outputFile.getAbsolutePath());
                    if(!outputFile.exists()){
                        outputFile.createNewFile();
                    entryOutputStream=new FileOutputStream(outputFile);
                    bufferedOutputStream = new BufferedOutputStream(
                            entryOutputStream, sChunk);
                    while((succeededReading=zipInStream.read(
                            buff,0,sChunk))!=-1){ //extract single entry
                        bufferedOutputStream.write(buff,0,succeededReading);
                        currentFileProgBar.setValue(++currFileValue);
                    bufferedOutputStream.flush();
                    bufferedOutputStream.close();
                    entryOutputStream.flush();
                    currFileValue = 0;
            } catch (IOException e) {
                e.printStackTrace();
            finalize();
        public void closeStreams(){
            try {
                zipInStream.close();
            } catch (IOException e) {
                e.printStackTrace();
            try {
                fileInputStream.close();
            } catch (IOException e) {
                e.printStackTrace();
            if (entryOutputStream!=null) {
                try {
                    entryOutputStream.flush();
                    entryOutputStream.close();
                } catch (IOException e) {
                    System.out.println("entry stream never opened");
            if(bufferedOutputStream!=null){
                try {
                    bufferedOutputStream.flush();
                    bufferedOutputStream.close();
                } catch (IOException e) {
                    e.printStackTrace();
        public void finalize(){
            try {
                super.finalize();
            } catch (Throwable throwable) {
                throwable.printStackTrace();
            progFrm.dispose();
            closeStreams();
            endTask();
        private void endTask(){
    //play a sound when task is complete
            java.awt.Toolkit.getDefaultToolkit().beep();
    }

  • Apache doesn't listen on anything

    Hello,
    Yesterday I upgraded my Arch, rebooted and found out that my apache is striking.
    Except the update I did not change anything.
    The daemon is started:
    7952 ? S 0:00 /usr/sbin/httpd -k start
    Telnet says:
    Unable to connect to remote host: Connection refused
    Netstat doesn't list port 80:
    Proto Recv-Q Send-Q Local Address Foreign Address State
    tcp 0 0 localhost:ipp *:* LISTEN
    udp 0 0 *:bootpc *:*
    udp 0 0 *:ipp *:*
    Weird is, that it's not possible to stop the daemon (httpd -k stop):
    httpd (no pid file) not running
    But ps tells, that httpd is running
    I also tried "Listen 8080" but that didn't work too.
    What may be the problem?

    After many debugging I've got the problem.
    Apache freezed after a first request, but it didn't throw an error to /var/log/httpd/error_log
    After a few hours of debugging I found a file called /var/log/php/error
    Before, I didn't hit on viewing that file, which says:
    [15-Jan-2009 20:18:51] PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
    A friend of mine recently had exactly the same problem. The eAccelerator was built with another PHP version and wouldn't work after a PHP update anymore.
    I deactivated eAccelerator and now everything works fine.

  • GUI suspend/resume listener?

    Having just upgraded for the first time I was surprised to see that you had to issue a CLI command before and after pressing the big user-friendly System Upgrade button.
    Am I missing something?

    You shouldn't be required to suspend/resume the listener when perform an AsyncOS upgrade.
    Quoting the Upgrade Instructions section of the 6.5 release notes:
    3. Suspend all listeners.
    4. Wait for the queue to emtpy.
    5. From the System Administration tab, select the System Upgrade page.
    I have to agree with randhall. If the instructions say to suspend the listeners and then make a specific reference to using the GUI to start the upgrade, then there should be a GUI method for suspending the listeners.
    A nice shiny suspend button would be a nice enhancement!

  • ITSMobile GUI doesn't fit on PDA

    Hi folks,
    I'm observing a strange behavior. I use a PDA with a barcode scanner and display the standard SAP ITSMobile menu (lm00) in the Internet Explorer of that Windows CE device. I've set the presentation format to 16x20. The PDA has a QVGA display.
    What happens:
    1. Logon screen is displayed. (fits perfectly in height and width - no scroll bars)
    2. I log in.
    3. The RF menu is displayed. (doesn't fit in height and width by about 30% - scroll bar visible)
    Even with only 3 menu points the logoff Button (F8) is displayed very low so you'll always have to scroll. Does this work as designed or do I have to configure something? I just can't believe that the standard SAP RF transactions can't fit a state of the art QVGA display without scrolling...
    Any suggestions are highly welcome!!!

    Found the answers in this thread:
    ITS Mobile screen size

  • Firefox process is running but the GUI doesn't show up.

    System description:
    ThinkPad T61, Windows 7 X64 with both Firefox 3.6 and 4.0 beta installed.
    Now both version of Firefox won't show their GUI when I start them but the "firefox.exe *32" process is running.
    I tried to clean up all the customize information about the firefox, uninstall both of them and reinstall the 3.6, but the GUI still won't show up.

    Did you create a new profile for the Firefox 4.0 beta version?
    See http://kb.mozillazine.org/Profile_Manager
    If you use the same profile for both versions then create a new profile as a test to check if your current profile is causing the problems
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Operations Manager 2012 doesn't listening SNMP Trap UDP port 162

    hi,
    SCOM 2012 SP1, how come the operations manager started but the SNMP Trap UDP port 162 not listening?
    Without this port listening, I can't testing SNMP trap on SCOM.
    Thanks...KEN

    Hi,
    As described in the following blog, the TRAP service should be installed but turned off, we could not get traps coming in until we turned the service back on.
    So please verify if the service is on. You can continue audit the ports by running netstat –a.
    System Center 2012 Notes From the Field
    http://scom-2012.blogspot.in/2012/07/setting-up-snmp-monitoring-in-scom-2012.html
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Hope this helps.

  • Upgraded the 4402 controller to version 6, gui doesn't work

    I upgraded the 4402 to version 6 by upgrading to 4.1.192 mesh and then to 6. I could see 4.1.192 but after upgrading I could not get into the gui. I could telnet in but that was pretty brutal. What did I do wrong?
    thanks
    Gary

    Actually when 6 installs it blows away the config. I had to come in and hook up the console cable. I usually hook one up to a laptop so I can always get to the controller but I didn't this time. I thought it was something I did but this controller proceeded to upgrade a controller in another building 20 miles away. The users complained they couldn't log in. When I got there and hooked up the console cable and rebooted version 6 got installed on there and the config was blown away. I had to tell it to boot from the secondary because I have some 1000 series APs still there. I had to recreate it and now everything is fine.
    Gary

  • Timer event doesn't listen to my if else statements how do stop it?

    So I'm building a random generator of just a vector that i imported into flash and everything works just fine, almost. I added a timer to the creation of the vector. I also have some if else statements that are going to govern User Input. I realized that if the UI was initially outside of the parameters i've set it runs fine but once the once the function with the timer starts it never stops regardless of whether or not the UI is in the parameters I set. How do I stop the function when the UI is not what i want it to be?
    Heres my code:
    //initial universal variable declaration
    var kface:Kobbyface;
    var UI:Number;
    var kfacex:Number;
    var kfacey:Number;
    var UIold:Number = 0;
    var timer:Timer = new Timer(200);
    //background rectangle
    graphics.beginFill(0xFFFF00, 1);
    graphics.drawRect(0,65, stage.stageWidth, stage.stageHeight);
    graphics.endFill();
    trace (inputnumber);
    //eventlistener for click
    gobutton.addEventListener(MouseEvent.CLICK, create);
    function create(me:MouseEvent):void {
    UI = Number(inputnumber.text);
    if (isNaN(UI)) {
    errormessages.text = "Kobby only responds to numbers"
    else if (UI > 500) {
    errormessages.text = "You're not ready for that many Kobbys"
    else if (UI < 15) {
    errormessages.text = "Come on you can handle more than that"
    else{
    createfaces();
    //for loop///
    function createfaces ():void {
    ////////timer for face animation///////
    timer.addEventListener(TimerEvent.TIMER, animate);
    timer.start();
    function animate(evt:TimerEvent):void {
    /////keep track of old number/////
    if (UIold != 0) {
    for (var i: int = 1; i<UIold + 1; i++) {
    stage.removeChildAt(1);
        /////assign old number to new number////
    UIold = UI;
    for ( var i:int = 1; i<UI + 1; i++ ) {
    trace( i );
    ////assign values to coordinate varialbes/////
    var kfacex:Number = Math.random() * stage.stageWidth;
    var kfacey:Number = Math.random() * stage.stageHeight + 65;
    //creation of faces///
    kface = new Kobbyface();
    stage.addChild(kface);
    kface.x = kfacex;
    kface.y = kfacey;

    you can apply the stop() method to your timer:
    timer.stop();

  • Siri hears me, but doesn't listen

    new iPhone 4s and Siri screws everything up that i say. i have even tried slow talking, but still nothing.
    90% of the time she starts calling someone. appointments don't work, temperature questions generally give the time or call someone.
    play music works.
    looking for help before i throw her into a river.
    tFT

    According to your signature, you don't have Siri. Siri is only available in iPhone 4S and IOS 5.0.1. You do have Voice Memos (Voice commands)
    Message was edited by: ckuan

  • Stage doesn't listen to code

    Hi Everyone,
    Can anyone help me with this problem I'm having?
    I put this code on frame 1 of fist layer, on 2nd layer frame
    one, an empty movie clip named main.
    The code reads:
    loadMovie("main.swf", main);
    Stage.scaleMode = "noScale";
    Stage.align = "TL";
    var stageListener = new Object();
    stageListener.onResize = function (){
    main._x = (Stage.width - 748.5)/2;
    main._y = (Stage.height - 462)/2;
    Stage.addListener(stageListener);
    But main wouldn't position itself. Basically I want main to
    position in the center of the stage, no matter the stage's size.
    Help please....:(
    Thanks
    J

    Okay taking a second to hypothesize about the problem, you
    which to have an object drawn on stage at a specific point, and
    wish the object to stay there when you set the Stage.scaleMode =
    "noScale"; function.
    Having run into this exact problem today, I can tell you
    don't have to make a function for it. scaleMode allows the file to
    be resized, but the stage still thinks it's the same high and
    width.
    To verify trace Stage.width and Stage.height as you resize
    it.
    Or simply modify your code to read:
    main._x = 748.5/2;
    main._y = 462/2;
    This makes since, because if the value of the stage width and
    height changed it would create all sorts of messiness. It saves
    flash programmers like us lot's of headaches figuring out how to
    position objects in a constantly changing environment.
    Though their not exactly clear on that, so we try to do it
    anyway.
    Never the less hope this helps.

  • GUI/swing application doesn't appear under Win2K

    Hi, all,
    I wrote a Java GUI application with JDK1.4.1_01, when I run it on Win2K Professional (SP3) the
    GUI doesn't appear without any exception.
    But when I ran the same application under XP and Win98, the GUI application run ok and the GUI appears.
    What is the problem?
    regards,
    Adam

    I wrote a Java GUI application with JDK1.4.1_01, when
    I run it on Win2K Professional (SP3) the
    GUI doesn't appear without any exception. Maybe it 's shy. Have you thought about coaxing it out with a little biscuit?

Maybe you are looking for