Urgent JWindow closing!!!!!!
Hi ALL
My problem is iam not able to close my JWindow by pressing ALT F4 in Solaris OS any suggestions please forward waiting for reply.....
Hi kalpana,
some code:
public class MyWindow extends JWindow implements KeyListener, WindowListener
public MyWindow(){
super();
... // set width, height and whatever
addKeyListener( this);// for closing
addWindowListener( this);// for focus
show();
// implement the window listener
public void windowClosing( WindowEvent e ) {
//System.exit(0);
public void windowClosed( WindowEvent e ) {}
public void windowActivated( WindowEvent e ) {}
public void windowDeactivated( WindowEvent e ) {}
public void windowDeiconified( WindowEvent e ) {}
public void windowIconified( WindowEvent e ) {}
public void windowOpened( WindowEvent e ){
requestFocus();
// implement the key listener
public void keyReleased( KeyEvent e){}
public void keyTyped( KeyEvent e){}
public void keyPressed( KeyEvent e){
if( (e.getKeyCode() == KeyEvent.VK_ESCAPE) && (e.getModifiers() == InputEvent.ALT_MASK)){
e.consume();
dispose();
System.exit( 0);
I haven't tested this code, but it's copied out of an application that works.
Hope this helps.
Oliver
Similar Messages
-
Hi all
I come acrossed one problem i.e i have my main application as JWindow and a button and when i click it iam getting an JOptionPane/JRame/JDialog and set modal if its dialog and set modal through window activate and deactivate if its JFrame the problem is when i click on JWindow and press ALT F4 my JWindow is closing leaving the child Component (i.e JDialog/JOptionPane... etc)now i want to not to close JWindow if there was any dialog,optionpane opened any ideas/views/sugesstions please suggest...
KalpanaHi!
How did you created your frames / dialogs?
You must give the reference of the JWindow instance as owner for your child frames...
I hope this helps you,
Taoufik -
Automatically confirm CR after Urgent Correction closed
How do we setup ChaRM so that when an URGENT CORRECTION is closed, the CR is automatically confirmed.
ie. Urgent correction > Imported to Production > Confirmed > Closed
(at this point the CR would automatically change from Approved to Confirmed)
Thanks!!Hi shivjansi
I have checked the config in the IMG (as per your suggestion) and can confirm I have already set this up.
ZDHF E0008 SET_PREDOC
and
ZDHF E0010 SET_PREDOC
This should change the ZDCR status when the ZDHF is closed (E0008) or withdrawn (E0010). But it's not happening
With the ZDMJ I have added similiar config:
ZDMJ E0013 SET_PREDOC
and
ZDMJ E0014 SET_PREDOC
This is working fine for ZDMJ. When a ZDMJ is withdrawn (E0014), the ZDCR goes from Approved to Pending Approval. When a ZDMJ is closed (E0013), the ZDCR goes from Approved to Confirmed.
Just need to get ZDHF doing the same thing!
Shivjansi - is there something else I can look at for ZDHF to get this working? Thanks!!! -
Urgent Req: Closing the sessions in EP?
Hi All,
If i'm accessing the SAP Transactions throurgh Iviews in EP,if the user closes the EP directly instead of loging Off, the SAP transactions iviews remains stateful.
I want to know is there any posibility of killing that session or restricting the session.
Help appreciated.
Thx
PRadeepOne way to force a logoff when the browser is closed would be to import the Masthead iView into Eclipse and add the following Javascript code :
var closing;
window.onload = function() {
closing=true;
window.onunload = function() {
if(closing) {
EPCM.raiseEvent("urn:com.sapportals.portal:user", "logoff", "");
With this the DSM terminator is called whenever the user leaves the portal for another website or closes the window. -
Very Urgent- GRIR clearing in f.13
Hi SAP GIRUS,
I am trying to clear GRIR Account using TCode F.13 . System is showing message " No clearing (difference too large)" . Dofference is of Rs. 0.48/.
I have made all settings for tolerance-
1. Tolerance group for gl which include gl account and criteria assignment
2. User assigned to tolerance group
3. Employee tolereance group.
4. In open item clearing all fileds including assignment is defiened.
5. Account is in open item management.
System is not giving ant clue except the above message.
Kindly guide me to resolve the problem. Its urgent as closing is going.
CHEERSHII
Ur system is showing correct message...
here as per the system functionality system will not clear invoices even if have 0.01 paise difference,,,, it should be exactly the same amount....
F.13 is the T.Code for authomatic clearing where you are not allowed to make any changes...
U can do teh manual clearing througn F-53 or any other T.Code and make as a partial or residual clearing..
but int his case also the system will show u that 0.48 paise as open item.
So to clear that amount u can either make this o.48 paise as discount or rounding off.
Hope it clears u about the error..
Thanks
sejal -
Re open the closed Posting Periods - Very Urgent
Dear Experts,
We have an urgent problem to solve.The company code currently we are configuring uses fiscal year (oct - Sept) and the other company codes in our client site uses (jan -Dec). So by mistake we closed posting periods using MMPV upto 2007 03 but it should be 2006 06(correct me if i am wrong).
As we are still in baseline configuration we don't have any material document in the current company code. From this forum I got some solution to intialize the posting period using MMPI(which directed me to use SAP Note 487381).
Now if I do MMPI with the directions mentioned in SAP Note 487381, will i face any problem now & in future.
Please suggest me and help me as has become hurdle for the test process.
Thanks in Advance...
Nagesh AswarthaHi Aswartha
As you do not have any material documents , pl go ahead and initialize the periods. Should not be a problem.
I normally do this to avoid errors:
In MMPV, never give a period. Enter the current date(or first date of the month) in the date field and execute closing program.
Best regards
Ramki -
Closing SKYPE URGENT TIME IS OF THE ESSENCE
All users should be aware that currently 3 out 5 methods that purport to close SKYPE DO NOT CLOSE IT.
1. LEFT Clicking the X in the top right corner of the SKYPE application DOES NOT EXIT SKYPE.
2. LEFT Clicking SKYPE then CLOSE of the SKYPE application menu DOES NOT EXIT SKYPE.
3. RIGHT Clicking the SKYPE ICON in the Task Bar and left clicking CLOSE DOES NOT EXIT SKYPE.
But ...
RIGHT Clicking the SKYPE ICON in the Task Bar and left clicking QUIT SKYPE DOES EXIT SKYPE.
RIGHT Clicking the SKYPE ICON in the Task Bar and left clicking SIGN OUT DOES EXIT SKYPE
It should be obvious that this is a security breach waiting to happen and it could be argued in a court of law that Skype are deliberately or negligently putting users at risk of hijacked accounts and loss of privacy, possibly in order to claim higher online numbers in order to increase marketing statistics such as users online. I urge Skype directors to instruct developers without further delay to conform to standard menu definitions such that CLOSE means CLOSE and X closes the Application. You should also consider a timeout LOCKING option. Internet cafe situations arise where a user thinks they have safely EXITED and closed the application but predators can hijack their account, change passwords, and make unauthorised telephone calls.
I am an IT professional and I find these matters totally unacceptable. As previously stated History Management and Recent Contacts persistince and contact's Icons in Skype Home without options to selectively remove them are also lacking in usability features that jeopardise Privacy.
I request urgent action on these points.
Best wishes,
AtoZHello.Im not a developer.
.i just use skype. I really dont care
about an x an o, or a $ sign.
you are both petty in your thinking.
and I dont use Windows..I use Linux.
and I just quit when im done...
and it logs out automatic.
I think you both made a big deal about nothing.
Spoiler (Highlight to read)
Spoiler (Highlight to read)
Suprised? dont be...Im a scientist.
Suprised? dont be...Im a scientist.
Spoiler (Highlight to read)
Spoiler (Highlight to read) -
ERROR Message no. AU265 :While closing asset accounting year ------ URGENT
Hi All,
THE ISSUE IS URGENT . Please help in resolving it.
One of our users have missed to do the repeat depreciation run for
Asset 4464 (Co. code 0006)in 12th period as she has raised a credit
memo for this
Asset after she did normal depreciation run for period 12, 2007.
Than the financial year 2007 FI-GL was closed and when she was trying
to do Asset year closing for 2007 through t-code AJAB she got the error
that depreciation not updated for asset 4464 and realized that she hasmissed a repeat depreciation run .
Than I replied back to her that there is no other way out to solve this
problem other than to get the last fiscal year opened and than do the
repeat run and not to do any posting for this year before closing the
previous year.
But in the mean while she has already posted the depreciation for
Jan 08 for all assets and also posted the value for 4464 Asset in
Period Jan08 . Now when she is running AJAB she is getting error the
following error.
AU265 : Documents from last posting run in 2007 are not yet updated.
The sequence which the user has followed is as follows:
First, I ran depreciation for all assets in period 1, 2008 with no errors. But, the December depreciation for asset 4464 did not post in this run.
Then, I posted depreciation for asset 4464 in period 1 2008 (see document 300000881), with no errors by following the steps in the attached document.
1. T-code AFAB
2. Entered the criteria with repeat run for Asset 4464(I knew SAP would not allow me to post to 12/2007)
3. F9 to process in background
4. T-code SM35 to process batch
5. Received error that period 12/2007 was not open for posting
6. Changed posting date to 01/2008 and processed the batch
7. Now, the remaining December 2007 depreciation for asset 4464 posted. See document 300000881.
8. T-code AJAB (Year-End Closing Asset Accounting), again
9. Received message that the Close was not carried out because Documents from last posting run in 2007 are not yet updated.
Please tell what can be done now to resolve this error.
Points will be rewarded if your answer helped.
Thanks & Regards,
PrachiPrachi,
I faced a similar situation from 2004, we transfered that portion of credit memo into a dummy company code / Asset and a manual adjustment in 2007 for the credit memo portion... ofcourse there will be a difference but explainable...
In your situation... check if you can open 2007 repost the depreciation for 12 and clear this issue?
Hopefully this helps. -
List of activities before closing a plant permanently- Urgent please
<b></b>Dear MM Gurus
i require your expert help in suggesting me a detailed action plan, here is my issue
we are going to c<b>lose our plant </b>in 1 month and i would like to know w<b>hat are all the list of action points that we need to take care of from now on to finally we close,</b>
so that we are left with zero unused stocks and all the open orders are all completed successfully, no excess, and so that this transition phase happens smoothly without any errors.from both MM/ WM/ PP/ QM and LE perspectives
also we plan to replace this current plant we are closing with a new plant and what should we do if
we need to copy all current plant config to new plant?
<b>how to copy all the master data like material master, info records, SA's vendor masters etc over to the new plant-
is there any standard mass upload tools for this activity or do we need to create custom programs or which do you suggest to advice considering the very short time i have, pls explain in detail??
</b>
your response will he rewarded as this is very urgent
thanks in advance for your help and all your valuable responses are truly appreciated
chakriHi Chakri,
In this situation we look for below areas in MM
1) Closing stocks.
2) Open PO's
3) Pending Payments to vendors
4) Sub-Contracting status.
close all po's at cutoff date & take the closing stock of materials with value & note the g/l account value these should tally in new plant.
for po's pending for delivery close it or cancel it.
Material master / vendor master etc . . . master data's is adviseable to extended using LSMW or BDC.
Hope this will help u.
Regards
Rang -
[URGENT] Business Account Closing Issue
I am the owner of a company which uses PAID skype accounts for business purpose. I recebtly received an e-mail from skype that tells me these accpunt are going to be closed (deleted) in 24 hours. Please contact me urgently.
Personally identifiable information redacted for privacy.Hi, bodyinoita, and welcome to the Community,
Please contact Skype Customer Service to resolve this. Here is a link to the instruction on how to contact Skype Customer Service via their secure portal: Contact Customer Service
Here are a few extra notes to guide you along the way ...
You will need to proceed through each step, one at a time. Sign on to the Skype website as requested. Choose the subject and topic which most closely matches the item you need assistance with. Then, continue past Step 2 of the instruction where several articles from the FAQ library will appear for you to review, and proceed to Step 3, Continue Support Request (the blue "button" appears at the lower right corner of the website page). You may also skip through Step 4 where you will be referred back here to the Community; no need to do this as the Community is where you started. When you complete the web-form and click Submit, your information is relayed to Skype and you will receive a reply via e-mail unless you are transferred to start an instant message chat session with a Customer Service agent.
If you experience difficulty reaching Skype Customer Service, try again using a different web browser. Also, look to approve a pop-up dialogue box which would connect you to start an instant message chat with a customer service agent. If you have pop-ups blocked in your browser settings, this will also impede reaching an agent.
Regards,
Elaine
Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often! -
hi all
I have a problem with JWindow i created a menu where in i have all menuitems as i needed with a close MenuItem with Mnemonic ALT F4 i could not able to close the JWindow in solaris as iam not able to catch th e ALT F4 event please help guys and gals.HI JRG
look my code once when i run this code iam not able to catch ALT F4 press as when iam printing the key pressed iam not able to catch ALT F4 any suggestions please
import javax.swing.*;
import java.awt.event.*;
public class MyWindow extends JWindow implements KeyListener, WindowListener
public MyWindow(){
super();
addKeyListener( this);// for closing
addWindowListener( this);// for focus
show();
// implement the window listener
public void windowClosing( WindowEvent e ) {
//System.exit(0);
public void windowClosed( WindowEvent e ) {}
public void windowActivated( WindowEvent e ) {}
public void windowDeactivated( WindowEvent e ) {}
public void windowDeiconified( WindowEvent e ) {}
public void windowIconified( WindowEvent e ) {}
public void windowOpened( WindowEvent e ){
requestFocus();
// implement the key listener
public void keyReleased( KeyEvent e){}
public void keyTyped( KeyEvent e){}
public void keyPressed( KeyEvent e){
if( (e.getKeyCode() == KeyEvent.VK_F4) && (e.getModifiers() == InputEvent.ALT_MASK)){
e.consume();
dispose();
System.exit( 0);
public static void main(String s[])
MyWindow mywin=new MyWindow();
mywin.setSize(400,400); -
URGENT- SERVICE ORDER CLOSING IN MASS MAINT...
Dear Guru
in our plant there are severat old service order which are pending to close
there is no item code or service no. in order
IS THERE ANY MASS MAINTAINANCE FOR SERVICE ORDER CLOSING.
urgent required
DEV...Dear
for mass maint required a table name but we have no material code so how to get it pls define steps for the same.
regds
dev... -
MM Closing Period(Urgent)
Dear Experts,
In our development server,By mistake we have closed periods till november.We want to open and try to run in the current period,how to do that???
Plz do reply me...
Thanks and Regards
MKhi Mk
for opening the already closed period & if we want to reopen & post it in previous period.use MMRV
When you are opening Aug'2007 then the period Jul'2007 is closed.
You have the option of posting in the Jul'2007 by setting the posting allowed in the pervious period in MMRV transaction.
But u will not able to post for period June'2006 , once you open August'2007 period. That is the reason why it is always mentioned that Posting to previous to previos period is not possible.
Hope it answers your Prob.
Please reward points if u are satisfied with the answer
Vishal... -
How do you cancel an invoice on a finally closed PO? - URGENT
We attempted to void and cancel a check and Oracle allowed the void, but did not allow the invoice to be cancelled. Further investigation revealed that the associated PO had been finally closed. We were unable to enter a credit in the distribution because it wouldn't allow the invoice amount to be changes so that it would go on hold. Since the PO can't be reopened after being finally closed, how should this invoice be handled?
The user finally got back to me on the proposed solution, but it doesn't completely solve her problem.
The transaction is in limbo because we've voided the check now but it won't let us create the accounting to complete the void.
Because of this – it's in limbo and continues to be "swept" each month into the next accounting period. We need to find a way to complete this void transaction so it won't keep showing up as a reconciliation item. -
This was done on FF6.0 running XP
You can restore a closed window -- don't know about 60 tabs removed from a window. Use "Alt" to bring up the Menu bar (if hidden), then click on History, then Restore windows then select windows to restore and / or tabs to restore.
You can bookmark all of the open tabs by right click on a tab then "Bookmark all tabs" will be grayed out if only one tab, and in FF 6.0 does bookmark the app-tabs. App-tabs should already be bookmarked by you anyway so they can can be restored.
If you fail to bring back the tabs, use the History Sidebar ("Ctrl+H"), they are not in the history on the basis of last open though so if they've been open for several days you may have a hard time finding what was lost. The "View" single menu item at the top of the History sidebar allows for various ordering, but you may wish to the the History Library List instead ("Ctrl+Shift+H").
reference
* Viewing the browsing history - Firefox - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Viewing_the_browsing_history_-_Firefox
* Bookmark or save multiple tabs - MozillaZine Knowledge Base<br>http://kb.mozillazine.org/Bookmark_or_save_multiple_tabs
session:
* http://kb.mozillazine.org/Browser.sessionstore.max_tabs_undo (default is 10)
* http://kb.mozillazine.org/Browser.sessionstore.max_windows_undo (default is 3)
* http://kb.mozillazine.org/Session_Restore
Maybe you are looking for
-
I just bought Quick time Pro and I can't get it to install. It shows a yellow box in my application folder, but I can't get it to work. Help!
-
HP PSC 1210 all-in-one pen failure issue
I have an hp psc 1210 all-in-one printer and recently replaced both print cartridges. Then, when I went to print it said that i had a pen failure. I then discovered online that this could be because of dirty cartridge contacts, so I cleaned them as
-
System Settings - Mail Contacts Calendars - iCloud
After switching to Mountain Lion, I have created a new Apple ID with @icloud.com domain. I try to set it in System Settings -> Mail Contacts Calendars -> iCloud and it works for Contacts , Calendars, Safari, Documents but not for Email. When clicking
-
Gzip problem on download files
I've downloaded the files for Oracle 9i Database from http://otn.oracle.com/software/products/oracle9i/htdocs/linuxsoft.html When I try to gunzip the files, I get an error message gunzip: Linux9i_Disk1.cpio.gz: not in gzip format The files I have are
-
New Macbook Pro vs. the Apple Wireless Keyboard - delayed key action
Ever since I've had the latest (not retina version) laptop, my wireless keyboard doesn't have the same response time between stricking the key and the action showing on my screen. My usual reaction is to reboot (turn off then back on) the keyboard, w