Need to close only the new popup window
Could anyone please help me with this.
From Main.java, the main user interface pops up, on clicking vf2vpExebut button, vf2vpExe.java's user interface pops up. After I process the vf2vpExe.java user interface and close it even my Main.java user interface closes.
But on clicking the exitbut in vf2vpExe.java, I need to close only the vf2vpExe.java user interface and not Main.java user interface also.
My code is:
Main.java
private void vf2vpExebutActionPerformed(java.awt.event.ActionEvent evt)
try
vf2vpExe vf=new vf2vpExe();
vf.mainclass();
catch(Exception e)
} vf2vpExe.java
private void exitbutActionPerformed(java.awt.event.ActionEvent evt)
System.exit(0);
}
Please ignore this topic. I need to post this in New to Java
Similar Messages
-
Urgent help on opening a new popup window when clicking on h:comandButton
Hi All,
I am working on a JSF application.I got a requirement where i need to Open new popup window when the user clicks on <h:commandButton>. Here is my sample code.
<h:panelGroup>
<h:commandButton onclick="window.open('/gwp/pages/client/auto_id_card_proof.jsp','PrintIDCards','top=30,left=0,width=800,height=600, scrollbars=1')"
value="#{ClientLabels['PrintAutoIdCard.PrintProofOfInsurance']}" immediate="true"/>
</h:panelGroup>
Iam getting an error message in the new popup window as below when i click on the commandButton.
JSP Processing Error
HTTP Error Code: 404
Error Message:JSPG0036E: Failed to find resource /pages/client/auto_id_card_proof.jsp
Root Cause:java.io.FileNotFoundException: JSPG0036E: Failed to find resource /pages/client/auto_id_card_proof.jsp at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.findWrapper(AbstractJSPExtensionProcessor.java:293) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:266) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
Any help will be highly appreciated.
Thanks
VijayPlease, urgency is your own problem and thus irrelevant to us. This way you are seemingly putting pressure to us, which is rude.
At any way, a 404 simply means that the URL is wrong. -
I have uninstalled Lightroom and need to re-install it on the same computer. I cannot find where to re-install it. The CC popup window says that it is installed and Up to date.
CC desktop lists applications as "Up to Date" when not installed
http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html -
Need Some Help...I cannot sync my hold "notes" with iCloud. only the new one appears on iCloud!
i'm using an iphone4
-
I am unable to ujpdate apps. I keep getting a message that I need to agree to the new terms and conditions, however, when I try top do so,
nothing happens. As a result I am unable to purchase any new apps. I have tried turning the phone on and off, but that didn't help. This problem
started after the phone received the latest update. Please help.Instead of just turning the phone off and on try a reset.
Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem. -
Can I set the position of the new mail window?
Each time I compose a new message, the new message window seems to appear at a different place, usually obscuring the main window. I would like to have it always appear to the side of the main window. Can I set this, perhaps in the property list?
Perhaps something is corrupt that is causing bad behavior for some users and so my comments are unhelpful, but here's some more data to add to this discussion: My Mail.app behaves as George Coghill described above, subsequent message windows open where the previous window was open.
For example- Close all Mail.app windows so that only the main "Message Viewer" window is open (basically, don't have any emails that you're in the middle of drafting open). Open a new message, adjust the position as you wish, then close it. When you open another new message, does it have the same position as the one you just adjusted? It should.
However, for me, sometimes it would be off by a few pixels as Thomas A Reed described above. I realized that this was because I had another compose window open in the background. So as you troubleshoot, make sure no other compose windows are open, to remove one complication and help isolate the issue.
Side note: in cases where the original window's height fully extended across the display, the new window would be shifted over to the right only, but not down at all as some apps do (like Mac Word, annoyingly). Another note: if you maximize the original window, subsequent windows also open maximized and unshifted.
A corollary to the paragraph immediately above is that if you open say 3 new windows, the second one will be shifted and the third one will be even more shifted. Let's say you send all 3, and now open a new window, it has the position of the 3rd window. Annoying. Yes, it would be nice if it always opened new windows in the exact same position, but Apple likely won't do this since people will get confused and think they lost the window if it doesn't do the shifting. I guess the take-away is draft one message at a time or maximize your composition windows, otherwise it's going to move :/
A band-aid solution: When a window isn't positioned how you like it, a quick/simple way to reposition it is with apps like Moom (my favorite), Cinch, Divvy, SizeUp, etc. While I'm at it I should mention RightZoom, which makes the green zoom button behave like the Windows maximize button, and Cordless Dog Stay, which is great if you connect/disconnect your laptop to a screen causing the window positions to always get disturbed between displays. -
Make only the new row in a table editable and other rows display mode.
Hiii all,
I am working on the component GSWISET, there is a table view for substitutes, the requirement is to show all the rows in the table view in display mode. Whenever the user clicks the button (Add employee), a search popup triggers and the user selects an employee from that and it will come as a new row in the table view. Here I need to be able to make only the new row editable and all the other rows in display mode.
Could you please suggest a way to achieve this. Thanks for your time..Hi,
Try with the code below in.htm page
data: lv_displaymode TYPE string.
IF controller->view_group_context->is_view_in_display_mode( controller ) = abap_true.
lv_displaymode = 'X'.
ELSE.
lv_displaymode = ' '.
ENDIF.
if lv_displaymode = 'X'.
<chtmlb:tableExtension tableId = "Substitutes"
layout = "FIXED" >
<chtmlb:configTable actions = "<%= controller->gt_button %>"
id = "Substitutes"
onRowSelection = "select"
selectedRowIndex = "<%= substitutes->SELECTED_INDEX %>"
selectedRowIndexTable = "<%= substitutes->SELECTION_TAB %>"
table = "//Substitutes/Table"
width = "100%"
selectionMode = "<%= substitutes->selection_mode %>"
visibleFirstRow = "<%= substitutes->VISIBLE_FIRST_ROW_INDEX %>"
usage = "ASSIGNMENTBLOCK"
headerText = "<%= controller->gv_header_text %>" />
</chtmlb:tableExtension>
else.
<chtmlb:tableExtension tableId = "Substitutes"
layout = "FIXED" >
<chtmlb:configTable actions = "<%= controller->gt_button %>"
id = "Substitutes"
onRowSelection = "select"
selectedRowIndex = "<%= substitutes->SELECTED_INDEX %>"
selectedRowIndexTable = "<%= substitutes->SELECTION_TAB %>"
table = "//Substitutes/Table"
width = "100%"
selectionMode = "<%= substitutes->selection_mode %>"
allRowsEditable = "TRUE"
visibleFirstRow = "<%= substitutes->VISIBLE_FIRST_ROW_INDEX %>"
usage = "EDITLIST"
headerText = "<%= controller->gv_header_text %>" />
</chtmlb:tableExtension>
endif.
Regards,
Gangadhar.S
Edited by: gangadhar rao on Dec 24, 2010 12:49 PM -
Can I add a Close button to a popup window?
My RoboHelp 10 project has nested popup windows (that is, I can open a popup window within a popup window within a popup window). The problem is, when I close the popup window at the lowest level, all of them close simultaneously. This is not good for navigation, particularly if the user is following instructions in the popup window and needs to go back up one popup window level.
Is there a method by which I can close each individual popup window, for example, by adding a Close button to them? In other words, can I change the format of the popup windows?
Your help will be much appreciated in finding a solution to this problem because it is fundamental to the way we want our Help to function. If a solution can not be found, we may have to change to another product to produce our Help.Hi,
You can create a close buton by creating a link as follows with the following address:
javascript:self.close()
But I'm not sure whether this will work correctly with RoboHelp generated popups.
Another question: why would you want multiple popups? Wouldn't it be better to create a popup that can tthen redirect to another topic? Having lots of windows wil become very confusing very fast.
Greet,
Willam -
Hey, migration from an old mac late 2008 aluminium to a brand new mac book air. Only the new one has firewire. Transmissiom via wifi estimates ~50h. Is there a faster Way to sync? Tanks in advance
I'll venture that your problem here is that you're using two very different versions of Mac OS X. The USB adapter has been useful to me when making big downloads or while using other networks, but it might not be your case.
Here's what I would advise, though it may be less than stellar: Copy the files you need into folders and move them through a USB flash drive or using that external hard drive of yours. (Could the format be the reason your MBA can't see it?). Some stuff like calendars and contacts can be exported too. At least in Lion, I haven't used Tiger in a while.
Good luck. -
It would be nice if I could put together the fields in the "new contact" window in the adress book, or at least highlight the ones I need with bold letters or a different color. Is there a way? Thank you.
No method I am aware of.
This add-on adds many features, but I don't know if what you seek is included.
https://freeshell.de//~kaosmos/morecols-en.html
How to install
http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html -
how do i get my contacts back? they are backed up by i cloud but when I "MERGE" only the new ones are there and not the old ones
Hi sfuentes,
You need to check iCloud to see if they are actually there. Go to iCloud.com and sign in and then look at your Contacts there to see if the old ones are still showing on iCloud.
If they are not, then you can either re-enter them while you are on iCloud.com, or you can restore your device from the backup where you saved them:
https://support.apple.com/kb/ph12521
Cheers,
GB -
Show the custom popup window on clicking the people name in sharepoint people search result
Show the custom popup window on clicking the people name in sharepoint people search result
We are doing the below code to open a popup but while clicking on name link its postback the page and not opening the popup in first click but opening in second click.The same issue occurs while navigate to second page using pagination
The below code used to show name in item template
<button id="NameFieldLink" class="temp" style="font-size: 12px;text-decoration:none;color:#0072c6;border:0px solid #fff;background:transparent;margin-left: 1px;height: 15px;padding: 0 10px 17px 0px;text-align: left;cursor:pointer;font-family:
Arial, Helvetica, sans-serif;" title="">_#= DisName =#_</button>
The below jquery code used to open popup in control search template
ctx.OnPostRender = [];
ctx.OnPostRender.push(function () {
$(".temp").on("click", function(event)
event.preventDefault();
$('#fadeout').show();
$('#pop1').find('.tab-content-people').html($(this).closest('.emp-card').find('.pop-content').html());
$('#pop1').show();
return false;I believe the issue is that you are not actually searching against the result source you made in step #1.
It's not enough to make a result source, you have to tell the search results web part to use it.
Try this:
1. Go to the Pages library of Search Center
2. Create a new Search Results page
3. Edit the page, then edit the search results web part
4. Change the source for the search results web part to your source
5. Add the page to your Search Center navigation
6. Run the search on that page
Scot
Author,
Microsoft SharePoint 2013 App Development
Author,
Professional Business Connectivity Services
Author,
Inside SharePoint 2013
Blog, www.shillier.com
Twitter, @ScotHillier
SharePoint Trainer, Critical Path Training -
Datepicker PopUp opens in the calling PopUp window
Hey Guys, I need some help on this...
I have a button that opens a PopUp window, and in this PopUp I have a "Date Picker" item,
And when I want to select a date, the calendar shows up in the same PopUp window, and I m loosing the calling PopUp(the first one).
How can I do so, that to have my PopUp window, and the calendart to show up in another PopUp?
Thanks in AdvanceHi,
that's because of the Window Name you specified. Specify another one or use the popUp2 method which will create a unique name.
Hope that helps
Patrick
Check out my APEX-blog: http://inside-apex.blogspot.com -
Oldest FF windows are overlaid by newer FF with the new FF window on top.
This wastes time & monitor-space.
It is likely just a simple setting somewhere ...
== This happened ==
Every time Firefox opened
== With version 3.6.6.This can be caused by a problem with an extension (Tools > Add-ons > Extensions)
Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") -
I have an iPod Touch version iOS 4.2.1, 8 G capacity, and whenever iTunes tries to sync my iPod, I get an error message saying "Mobile Backup has encountered a problem and needs to close", and the sync fails. I have tried deleting and reinstalling iTunes, and the same thing happens. What can I do to fix this problem?
Try:
iOS: If you can't back up or restore from a backup in iTunes
Maybe you are looking for
-
[urgent ]runtime error occured while creating the material using mm01
hai am configure the ale program now . the problem is occured during the creating the material using mm01. am using client 000 (sending system). and i want to send the material to the client 400(receiving system) while am save the created material u
-
Help! I haven't been able to open itunes since the 7.2 update. I have tried numerous suggestions from the forum, but so far nothing has worked. I have run two malware software, tried misconfig, re-installed the program numerous times, tried changing
-
Hi, I have one issue regarding transaction variants. I have created a transaction variant for a program (standard & customer developed) and want to assign it to a user in transaction SU01 - Parameter tab. What I don't know is what kind of Parameter I
-
Hello, I have one query that it contains 24 columns, necessary to create one variavel where the user will go to choose creaks, in accordance with the choice opens somesnte the columns referring that one creaks selected. Exists some How To? Ex: In cas
-
Excessive cxs socket connections created for ejb access
We are seeing a large number of TCP connections being created to the cxs engine for ejb access in our application. We are running iPlanet application server 6.0, sp3 on Solaris 8. We have a web application that accesses a singleton component running