Popup window with special effect
Hi,
I',m working on an application based on swing. I need to display a pop up dialog which is being displayed as growing window in the status bar of my application.(I dont know the term used for it. It's similar to the one displayed in MSN Messenger when a new user is logged in- "A window which is displayed with a curtain rising effect").
I can either go for a JPanel or JPopupmenu and paint thecomponent in an incremental manner. I would lik to know whether any other better approach is available?
Thanks
Jobinesh
Any help on this will be highly appreciated.
Similar Messages
-
Opening a popup window with fade effect
Hi,
I have a scenario where I want to open a pop up title window with some nice effect.
Can you please suggest how do I achieve it?
I have a repeater that repeats set of Text UI comps and I want to show a pop up window on MouseOver or MouseClick of each of these Text UI comps.
Please help.
Thank you,
Ameyif you want to open an title Window with a smooth fade effect there are more than one possible ways.
1. Declare Fade Effect
<s:Fade id="windowFade" target="{_titleWindow}" alphaFrom="0.0" alphaTo="1.0" />
2. Execute the fade effect on openening
2.1 start the effect after the PopUpManager.addPopUp
PopUpManager.addPopUp(_titleWindow, this);
windowFade.play();
2.2 start the effect on added-Event
protected function titlewindow1_addedHandler(event:Event):void
windowFade.play();
3. Make sure the effect is stopped before you start the animation with windowFade.stop() -
Custom pushbutton in ME21N should display a popup window with item details
Hello,,
The requirement is to
1. Add a custom pushbutton in ME21N screen at header level.
2. The user will select some PO line items and will click on this push button.
This inturn should trigger a popup window with item details only for those selected PO line items along with schedule line qty.
I have created the custom push button in a custom tab using the BADI ME_GUI_PO_CUST.
Now I am not able to retrieve item details and schedule line details inside the PAI of the custom tab..
i.e., when i click on the custom push button, I am not able to retrive the item data and schedule line data.
Please help me to retrive PO line item data and schedule line data.
Regards,
SharahJSF is not so relevant in this question. It's all about how the generated client side code look like. Which is usually a bunch of HTML/CSS/JS (open page in browser, rightclick and view source). If you know HTML, you should know that using target="_blank" in a <form> or <a> element would open a new window. If you know JS, you should know that using window.open() would open a new window.
Apply this so in the JSF source code so that the generated HTML/JS output is exactly what you want. -
I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' i--t won't go away-'delete' is greyed out--can't access calendar! Help!
I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' i--t won't go away-'delete' is greyed out--can't access calendar! Help!
-
Popup window with radio button-urgent
Hi..
Is ther any functionmodule for dispalying a popup window with radio button ....Use This
K_KKB_POPUP_RADIO2
I_TITLE ... This is the title
I_TEXT1 ... first radio button
I_TEXT2 ... second radio button
I_DEFAULT ... default
reward if useful
Amit Singla -
When I click on an annotation, a litle popup windows is coming in the middle of the screen. Does it exit a way (preferences) to make this popup window to fit the entire screen (easier to read the text inside the popup windows with th vertical scroll bar).
There is really no way to expand this popup ?
Because on a PC, Adobe Reader is taking care of the dimensions I gave to this popup.
I use QuickPdf library to do that. The command is :
int QuickPDFAddNoteAnnotation(int InstanceID, double Left, double Top,
int AnnotType, double PopupLeft, double PopupTop,
double PopupWidth, double PopupHeight, wchar_t * Title,
wchar_t * Contents, double Red, double Green, double Blue,
int Open)
Parameters
Left The horizontal co-ordinate of the anchor for the annotation
Top The vertical co-ordinate of the anchor for the annotation
AnnotType The annotation type:
0 = Note
1 = Comment
2 = Help
3 = Insert
4 = Key
5 = New paragraph
6 = Paragraph
Add 100 to any of the above values to suppress the date shown in the popup
annotation's title
PopupLeft The horizontal co-ordinate of the left edge of the popup window
PopupTop The vertical co-ordinate of the left edge of the popup window
PopupWidth The width of the popup window
PopupHeight The height of the popup window
Title The title of the annotation
Contents The body of the popup annotation
Red The red component of the color of the annotation
Green The green component of the color of the annotation
Blue The blue component of the color of the annotation
Open Specifies whether to show the annotation when the document is opened:
0 = hide
1 = show
Unfortunatly the Android Adobe reader doesn't take care of theses values and put the popup windows in the middle of the screen
It's very difficult to read the text on an galaxy SII : too small
Thanks -
HT5639 Will running windows with bootcamp effect my macbook pro's overall speed
Will running windows with bootcamp effect my macbook pro's overall speed ?
Welcome to Apple Support Communities
In some cases, there may be slowness in OS X because of the lack of free space. However, you shouldn't note this and in most of cases, performance is the same in Windows and OS X after installing Windows, more in the case of a MacBook Pro with Retina display.
The only thing you have to worry is to give Windows the necessary space. The MacBook Pro with Retina display hasn't got a lot of storage -
Hi, Can i export an Imovie project with special effects as a quick time movie then import into final cut express keeping the special effects?
Absolutely. Go to File->Export->QuickTime Movie (do NOT use QuickTime Conversion). Make sure you check the Self-Contained box. The export will be an exact copy of your Sequence, complete with any filters or other effects you've added. Import the self-contained movie back into the project (or another project) if needed.
-DH -
Not closing popup window with firing Exitplug
Hi Friends,
Could you please help me in resolving below webdynpro issue.
With a button (SAVE) click on 1st webdynpro application, Iu2019m calling a confirmation popup window using CREATE_POPUP_TO_CONFIRM method ("Data has been saved" is the message in the popup window). Then with the OK button on confirmation popup window, Iu2019m calling the EXIT plug to go to another webdynpro application
Issue is: If I execute this webdynpro application in Enterprise Portal then the confirmation popup window is not getting closed even after reaching to the 2nd webdynpro.
But If I execute direct webdynpro URL, confirmation pop is getting closed and there is no issue.
CODE:
Code for SAVE button action: Here Im calling the confirmation popup window.
DATA: lt_text TYPE string_table.
DATA: mr_popup_window TYPE REF TO if_wd_window.
pop a confirmation window for display purpose
DATA: l_window_manager TYPE REF TO if_wd_window_manager,
l_cmp_api TYPE REF TO if_wd_component,
l_window TYPE REF TO if_wd_window.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window_manager = l_cmp_api->get_window_manager( ).
APPEND 'Data has been saved' TO lt_text.
CALL METHOD l_window_manager->create_popup_to_confirm
EXPORTING
text = lt_text
button_kind = if_wd_window=>co_buttons_ok
default_button = if_wd_window=>co_button_ok
RECEIVING
result = mr_popup_window.
associated the action handling methods with the window
DATA: view_controller TYPE REF TO if_wd_view_controller.
view_controller = wd_this->wd_get_api( ).
mr_popup_window->set_remove_on_close( abap_true ). CALL METHOD mr_popup_window->subscribe_to_button_event
EXPORTING
button = if_wd_window=>co_button_ok
action_name = 'ON_SUCCESS_OK'
action_view = view_controller.
mr_popup_window->open( ).
Code for OK button action of POPUP window: Here Im calling the EXIT plug.
DATA: lr_ref TYPE REF TO ig_yics_userdefault,
lv_url TYPE string.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'YICS_HOMEPAGE'
IMPORTING
out_absolute_url = lv_url.
lr_ref = wd_this->get_yics_userdefault_ctr( ).
lr_ref->fire_go_exit_plg( url = lv_url ).
Regards,
Vijay.>Exit plugs do not work in a portal environment.
This is a good point that I feel silly for not remembering...
You can check if your application is running in the portal using the IF_WD_APPLICATION->GET_CLIENT_ENVIRONMENT method
lo_api_componentcontroller = wd_this->wd_get_api( ).
lo_api_application = lo_api_componentcontroller->get_application( ).
l_client_environment = lo_ap_application->get_client_environment( ).
if it is - then you can use the IF_WD_PORTAL_INTEGRATION interface
lo_portal_integration = lo_api_componentcontroller->get_portal_manager( ).
and the you can use the IF_WD_PORTAL_INTEGRATION methods to navigate eg - NAVIGATE_ABSOLUTE
call method lo_portal_manager->navigate_absolute
exporting
navigation_target = 'ROLES://portal_content/blah/test_URL'
navigation_mode = if_wd_portal_integration=>co_show_inplace
If you're navigating in the portal you should probably have iViews set up for the apps you are calling, but it is possible to create a pass-through iView which will redirect to a URL passed as a parameter.
[Setting the URL at Runtime - in URL iVIew|http://help.sap.com/saphelp_nw04/helpdata/en/45/85087d755d1f88e10000000a1553f6/frameset.htm]
data lo_api_component type ref to if_wd_component.
data lo_portal_manager type ref to if_wd_portal_integration.
data lt_params type wdy_key_value_list.
data ls_param type wdy_key_value.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_portal_manager = lo_api_component->get_portal_manager( ).
ls_param-key = 'forcedURL'.
ls_param-value = 'http://www.google.com'.
append ls_param to lt_params.
call method lo_portal_manager->navigate_absolute
exporting
navigation_target = 'ROLES://portal_content/blah/test_URL'
navigation_mode = if_wd_portal_integration=>co_show_inplace
use_sap_launcher = abap_false
launcher_parameters = lt_params.
Hope this helps
Chris
Chris -
Load page in popup window with different (from parent page) browser
Hi,
Environment: Windows XP or Windows 7, Visual Studio 2010, Internet Explorer 8 (IE)
I have an application which opens page containing HTML editor. Here you can edit a document (pooled from db). Next, btnPreview opens a new popup window and shows changes you made via Internet Explorer (IE - default browser).
Here is original code - works OK when you run from both - VS 2010 (http://localhost:50827/NCSite/MenuEditor.aspx) or via browser IE (http://localhost/NCSite/MenuEditor.aspx).
Please pay attention - with VS2010 was used a dynamic address (localhost:50827) created by VS2010
Here is a code I used for that:
URL = Request.Url.Scheme +
"://" + Request.Url.Host + appPath + URL;
ClientScriptManager cs = Page.ClientScript;
cs.RegisterStartupScript(this.GetType(),
"NewWindow",
"<script>window.open('" + URL +
"', 'New')</script>");
Now I have a request to add two more buttons to preview in Google Chrome (GC) and Mozilla Firefox (FF).
I used next code:
using System.Diagnostics;
//for btnIE:
URL = Request.Url.Scheme +
"://" + Request.Url.Host + appPath + URL;
Process.Start("iexplore",
URL);
//for btnGC:
URL = Request.Url.Scheme +
"://" + Request.Url.Host + appPath + URL;
Process.Start("chrome",
URL);
//for btnFF:
URL = Request.Url.Scheme +
"://" + Request.Url.Host + appPath + URL;
Process.Start("firefox",
URL);
It works OK when you run from VS2010 (http://localhost:50827/NCSite/MenuEditor.aspx)
but when you open application via default browser (IE) and after editing document press btnIE, btnGC, or btnFF it is not creating a new popup window and simply replacing existing window
and shows updated document via IE. Processes for GC and FF not even started (looked through Task Manager).
Is it any way to solve that issue?
Thanks,
Dm
dmirkinHi dmirkin,
If Andy's suggestion still cann't resovle your issue.
You are more likely to get more efficient responses to
ASP.NET issues at http://forums.asp.net where you can contact ASP.NET
JavaScript experts. This forum is for web application.
Thanks,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Function module for popup window with list display.
Hi,
I need simple program or function module name that accepts internal table as input and displays the content of the internal table as list in popup window.
Regards
Madhu.Hii Madhu
check this fm
<b>REUSE_ALV_POPUP_TO_SELECT</b>
check this implementation..
*& Report ZALV_SAMPLE *
*& Program for displaying data using function modules : *
*& REUSE_ALV_LIST_DISPLAY *
*& REUSE_ALV_POPUP_TO_SELECT *
*& REUSE_ALV_GRID_DISPLAY *
REPORT ZALV_SAMPLE .
TABLES VBAK.
DATA it_vbak LIKE VBAK OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN uline.
PARAMETERS: ALV1 RADIOBUTTON GROUP ALV, "REUSE_ALV_LIST_DISPLAY
ALV2 RADIOBUTTON GROUP ALV, "REUSE_ALV_POPUP_TO_SELECT
ALV3 RADIOBUTTON GROUP ALV, "REUSE_ALV_GRID_DISPLAY
ALV4 RADIOBUTTON GROUP ALV. " NORMAL DISPLAY
SELECTION-SCREEN uline.
SELECT * FROM VBAK
INTO CORRESPONDING FIELDS OF TABLE it_vbak
UP TO 10 ROWS.
IF ALV1 = 'X'.
PERFORM ALV_FUNC1.
ELSEIF ALV2 = 'X'.
PERFORM ALV_FUNC2.
ELSEIF ALV3 = 'X'.
PERFORM ALV_FUNC3.
ELSEIF ALV4 = 'X'.
PERFORM NORM.
ENDIF.
*& Form ALV_FUNC1
* text
* --> p1 text
* <-- p2 text
FORM ALV_FUNC1 .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_STRUCTURE_NAME = 'VBAK'
TABLES
T_OUTTAB = it_vbak
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALV_FUNC1
*& Form ALV_FUNC2
* text
* --> p1 text
* <-- p2 text
FORM ALV_FUNC2 .
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
I_TITLE = 'SALES ORDER INFO'
I_ZEBRA = 'X'
I_TABNAME = 1
I_STRUCTURE_NAME = 'vbak'
TABLES
T_OUTTAB = it_vbak
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALV_FUNC2
*& Form ALV_FUNC3
* text
* --> p1 text
* <-- p2 text
FORM ALV_FUNC3 .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_STRUCTURE_NAME = 'vbak'
I_GRID_TITLE = 'SALES ORDER INFO'
TABLES
T_OUTTAB = it_vbak
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " ALV_FUNC3
*& Form NORM
* text
* --> p1 text
* <-- p2 text
FORM NORM .
format intensified.
skip 1.
WRITE: /'SALES DOC.',
' Created on ',
' Time',
' Created by',
' Valid from ',
' Sold-to party'.
format intensified off.
skip 2.
LOOP AT it_vbak.
write: / it_vbak-vbeln,' ',
it_vbak-erdat,' ',
it_vbak-erzet,' ',
it_vbak-ERNAM,' ',
it_vbak-ANGDT,' ',
it_vbak-KUNNR.
endloop.
ENDFORM. " NORM
Reward points if helpful
Revert back for more help
REGARDS
Naresh -
Custom Tilelist Component With Special Effects
I am trying to create a custom tilelist component which incorporates some special visual effects I need for my app. What I'm trying to do is replace the blue themed rollover color which shows when each item is rolled over with an effect which applies the glow effect to each hovered over items image and label and also converts the image to color whilst the item is hovered over (the tilelist itself is converted to greyscale upon application complete). At the moment I have it set so the blue them is completely removed but I want to instead alter the rolover them e to how I've described above. Here's what I mean below, which I made using static images and text (the social item is being hovered over in that picture), followed by the code for my custom tilelist so far:-
http://i223.photobucket.com/albums/dd147/jimmyoneshot/theicons.jpg
<?xml version="1.0" encoding="utf-8"?>
<mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:itemRenderer>
<mx:Component>
<mx:Canvas width="125" height="145">
<mx:Image source="{data.icon}" height="64" width="64" top="10" horizontalCenter="0"/>
<mx:Label text="{data.label}" bottom="1" horizontalCenter="0" color="#FFFFFF" fontWeight="bold" fontSize="12"/>
</mx:Canvas>
</mx:Component>
</mx:itemRenderer>
<mx:Script>
<![CDATA[
import mx.core.EdgeMetrics;
import mx.core.IFlexDisplayObject;
import mx.skins.halo.ListDropIndicator;
import mx.events.DragEvent;
import mx.controls.listClasses.IListItemRenderer;
use namespace mx_internal;
override protected function drawSelectionIndicator(
indicator:Sprite, x:Number, y:Number,
width:Number, height:Number, color:uint,
itemRenderer:IListItemRenderer):void
// Remove the Selection indicator
override protected function drawHighlightIndicator(
indicator:Sprite, x:Number, y:Number,
width:Number, height:Number, color:uint,
itemRenderer:IListItemRenderer):void
]]>
</mx:Script>
</mx:TileList>I'm unstuck :) The key to getting this to work is to import the packages you are going to use in your component.xml.
So, for me..I had to add the following:
com.adobe.idp.workflow.dsc.type
com.adobe.idp.taskmanager.form
com.adobe.idp.taskmanager.form.impl
com.adobe.idp.taskmanager.form.impl.xfa -
ReturnListener invocation when closing popup window with (X) Button
When I use a bounded task flow in an inline-pop, when the user clicks on the upper right (X) button of the popup window, the ReturnListener
is not invoked which needs to be called in my use case because I need to refresh the caller’s table displayed in the calling screen. Do you know if there is a way to invoke the ReturnListener method to be invoked in case of closing the dialog via (X) button on the top right? Or how to refresh(addPartialTrigger) the caller’s table in that case.
This behavior is described in Andrejus following
http://andrejusb.blogspot.com/2009/11/crud-operations-in-jdeveloperadf-11g-r1.html
Thanks for your feedback.
Best Regards,
JPHi,
We created our own region in popup system partly for that reason. You have to add a popupClosed client listener and send a custom event to the server to in turn call the returnListener. Sadly, it's really not simple to implement, so I cannot come up with a good solution for you. :(
Regards,
~ Simon -
Popup Window with coordinates from Browser
Hi
I have a problem with the popup window display.
My requirement is:
I have a flex application ,with height=200,width=200, which
is occupying small amount of the browser window space.
In the application, when i click on a button a new popup
window is to be created with height=700 and width=700.
I created the samething.
But the problem is, the popup is displaying(overlaying)
within the flex application area, where the full screen of the
popup window will not be shown. bcoz the flex application is having
only 200 Height & 200 Width.
I want to have something like the popup window should be
displayed with browser coordinates and overlayed on the browser
window.
Can anybody suggest me how to get this...
I appreciate the help.
thanks
KVSYou would have to open a new browser window by hitting
another html page with a different SWF file in the html. I think
that would be the easiest way. -
I am building the opening page for a website in Flash, I'm
not the most experienced with Flash, but I'm getting a lot better
and I know many of the functions. However I'm having a problem with
an effect. It shouldn't be too hard to figure out, but here it is.
I have a US Flag that is square it was built in Flash using
about 10 - 12 layers with some motion. I haven't flattened the
layers ( I don't know how too, or even know if I'm supposed to do
that at all).
I am trying to take the last of the constructed square flag
and transform the Square into a Circle encompassing all of the
elements within the square in a nice smooth motion.
What is the best way for me to go about this?
Thank YouFirst off...no need to flatten layers. In fact, there's no
such thing in Flash (unlike Photoshop or Fireworks). You can only
delete layers (not to be confused with Layer Folders whichcan be
collapsed on the timeline, but not flattened). Most animations need
their own layer anyway and the number of layers won't in and of
themselves effect the size of the resultant SWF (the contents of
those layers will, but adding more layers won't make too much
difference).
Secondly, for the animation effect, you probably want to swap
out your finished square flag (multiple layers) for a single
graphic (new layer). Then, depending on the exact effect you want,
you could use a circular mask on the square or perhaps shape tween
the square to a circle.
Hope that helps!
Maybe you are looking for
-
How to get SCOM alerts and send single summary email of one's that have breached.
Hi, I'm trying to create a runbook which does as the title suggests, ie I want to get the 'Active' alerts from the console which have breached our SLA, which is No Critical or Warning alerts in resolution state of New for more than 24 hrs, and emails
-
Error message when sending photos as attachments in mail
When sending photos from i photo in mail I get an error message "Can't get paragraph 8 of content of outgoing message id 142504208. Invalid Index" I can send one photo at a time but no more than one. I have recently upgraded to leopard from panther.
-
i synch my ipad to my windows computer (itunes) so the data could still be stored. the app is called notebook + free i was planning on purchasing the pro version whcih is why i was clearing out my notebooks i only needed two and it was the two i dele
-
New View Columns are Blank on Rendered JSF Page
In an existing application, I am trying to add a few columns to an ADF Read-Only Table on an existing jsf page. In the model project, I added the columns to the read-only view object by changing the SQL statement. I then tested the business layer cha
-
I am out of space on my Macbook Air and have a Time Machine Backup. I want to complete reset my mac, but wonder if I can pick and choose what I restore to my computer? Can I also use my time machine backup as external storage as well for the files I