JMenuBar hides under Canvas
Hello,
I am doing a program that has a JMenuBar and Canvas,
The Menu Bar shows but when i click on it the JMenuItems are not shown they are hidden under the canvas which is stretched on the frame,
when i dont add the canas the menu bar works .
Thanks for help.
Don't mix AWT (Canvas) and Swing (JMenuBar) unless you have very strong reasons and know what you are doing. Instead of a Canvas, can you use a JPanel? Hopefully all is in a Swing root container such as a JFrame or JApplet.
Similar Messages
-
At times I just want to deal with the time line and hide the canvas.
Is there a way to do this?
I imagine it must be a simple thing that I'm just overlooking.
Thanks.
davidi tried above options i.e :-
1)
show_view('ORDER_BASIC');
GO_ITEM('ADDRESSSES.SHIP_TO_CONTACT_MIR2');
hide_view('ADDRESSES');
But may the block addresses resides on the canvas addresses ?
and ans to this que is ya block addresses reside on canvas addresses
2)i cant hide_window as that window has many canvases attached to it.
I am writing this code in WHEN-NEW-FORM-INSTANCE..hope its right??
Please let me know if its not the correct trigger to write the code... -
JMenubar hidden under JScrollPane
Hi,
JDK 1.3
quick question... is there any way to stop JMenuItems in a JMenu, displayed on a JMenubar at the top of a Swing application from hidding behind the content of a Frame below it?
I.e. when the FILE JMenu option is selected the drop down menu is hidden behind the content of the Frame.
is there anyway to ensure the JMenuItems are always displayed 'on top'?
The Frame is used to encapsulate the platform's WWW browser, displaying webpages. The class used to build this native frame extends java.awt.Canvas (this is the only way we could get around NT proxy server authentication) and therefore cannot be changed to use a JEditiorPane or JPane.
Any ideas?All SWING components are lightweight. But you can make all popup menus to be heavyweight (like in AWT) for this call first the static method javax.swing.JPopupMenu.setDefaultLightWeightPopupEnabled(false);
-
All,
I am working in 11i instance, I have created a Custom Form using Template.fmb and my requirement is like this...
we have multiple canvases in one window, dynamically we have to display and hide the canvases and I have used the below code in WHEN_NEW_FORM_INSTANCE trigger but it is not working....
SHOW_VIEW('ID_CANVAS');
HIDE_VIEW('ENCLO_CANVAS');
Can someone help me....
Thanks,One more thing, I have created custom Horizontal Toolbar canvas & Vertical Toolbar canvas and assigned to the window... at runtime toolbars are not visible....I haven't worked with Horizontal or Verticle toolbars very often, however, you have to make sure you change the following properties of your Window object:
Horizontal Toolbar Canvas and Vertical Toolbar Canvas
Make sure you set these properties to your toolbar canvases that you created.
Craig... -
My form has a main canvas,over which there are 2 tabbed canvases with two tab pages each
1)1st tab canvas---A,B are tabbed pages
2)2nd tab canvas--C,D are tabbed pages
When A is pressed my second tabbed canvas should appear,whereas when B is pressed,I need to hide the 2nd tab canvas (or) will it be possible that, when I press B,a new window opens up(so that I need not hide canvas)
I am quite new to the forms,So any help would be grately appreciated..
Thank much!Hi,
To hide the entire canvas, you can use HIDE_VIEW built-in.
HIDE_VIEW('<tab_canvas_name>');To show the canvas, use SHOW_VIEW built-in.
SHOW_VIEW('<tab_canvas_name>');Regards,
Manu.
If my response or the response of another was helpful or Correct, please mark it accordingly -
Urgent help, Menu hides under flash
I used PVII Auto Hide and PVII Snap layers to create this
menu:
http://www.tomkt.com/main.html
the menu is hiding under the flash, is there any way to avoid
this?
It seems to be a problem on a PC, particularly.
I thought my ob was done here, and now I discover that it is
not.
I need help fast
thanks!
meliskaHello Melliska,
I am trying to fix the same flash menu issue that you had. It
currently works in IE but not Firefox. I can not seem to figure it
out though.
Here is my code.
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wmo de','transparent','width','728','height','360','src','/_templates/RPS-Home-Flash','quality ','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','/_templates/ RPS-Home-Flash'
); //end AC code
</script>
<noscript><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="728" height="360">
<param name="movie"
value="/_templates/RPS-Home-Flash.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="/_templates/RPS-Home-Flash.swf"
quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" wmode="opaque" width="728"
height="360"></embed>
</object></noscript>
I see that your example is working in both IE and Firefox
now. How did you fix it?
Any help would be great. :) -
Safari top of page hides under browser bar?
Every time I go to a webpage (Facebook as you can see here) for some reason the top of the page is hidden under the top of the web browser search bar. I just got my MAC this past week and installed the latest update. I didn't have any problems before doing so. Also, it only happens when I full screen the browser page. When I minimize it to a floating window it works fine.
Any idea how I can fix this as it is very frustrating?
Thank you.From the Safari menu bar, select
Safari ▹ Preferences... ▹ Extensions
Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit. -
Splash screen after import--it hides under LR--
After an import, the pictures that are duplicates, and not imported appear in a list in a splash screen that doesn't show up until I minimize LR. That is because it appears underneath LR which takes full screen on my Macbook. In my opinion, it should appear on the top of LR where it is visible. For what its worth. Thanks. I couldn't find this in the knowledge base.
I forgot to ask a question. The question is can I make the splash screen show up on top of the lightroom window? Phil Starr
-
Hi there,
Does anyone know how to solve this problem??
It's all in a JFrame, the menu works fine, apart from the tin problem that you cannot see it.
Kind Regards,
Thomas
PS. does anyone know of a really good site for sharing Java files and programmes?Thanx!
Turned out it was actually the ScrollPane that had to be changed to a JScrollPane, nevertheless your reply got me on the right track, so U get the Duke. -
How to hide the window/canvas which is placed on the form?
Hi,
We have a bussiness requirement to hide the canvas/window which is present in the standard form.
The standard form already contains the Window/canvas,we want to hide it without disturbing its functionality so that it is not seen on the form when it forms.
Thans in adv.i tried above options i.e :-
1)
show_view('ORDER_BASIC');
GO_ITEM('ADDRESSSES.SHIP_TO_CONTACT_MIR2');
hide_view('ADDRESSES');
But may the block addresses resides on the canvas addresses ?
and ans to this que is ya block addresses reside on canvas addresses
2)i cant hide_window as that window has many canvases attached to it.
I am writing this code in WHEN-NEW-FORM-INSTANCE..hope its right??
Please let me know if its not the correct trigger to write the code... -
Setting VIEWPORT_X_POS hide the stack canvas
In Forms 6i i use the next command:
set_view_property(l_canvas_stack_name, VIEWPORT_X_POS, l_canvas_stack_x_pos);
when the l_canvas_stack_x_pos > 0 (in my case = 175).
But instead of move it to different x position the command hide the canvas (its disappear from window).
What can be a problem?Hi
If i try the code you modify i see only stack canvas on the window without content canvas.okey that's what i explaned previously u can comment the
-- Hide_canvas ('canvas_name');
it can't be used in When-New-Form-Instance because i as said it hides the main basic content canvas.But it will only shows the the content + Stacked and set the cursor focus in ur stacked
The procedure repaint items on the content and stack canvas according to user definition of items orders (its change item's x position and width).sorry but i can't imagine could u give me an example pls.
what i got is...
The user supposed to define items orders u mean in a store application or the oreder of items from a,b,c to say c,a,b according to what i don't know.
There a missing link here ...
Its complicate code. If you need i will post it here.i don't understand the concept or the bussiness may be i exactly can't recognize what is the problem any way here is an example that may help u...
DECLARE
vw_id ViewPort;
BEGIN
vw_id := Find_View('Sales_Summary');
Set_View_Property(vw_id, VIEWPORT_X_POS, 30);
Set_View_Property(vw_id, VIEWPORT_Y_POS, 5);
END; Hope theis helps...
Regards,
Abdetu... -
I have a stacked canvas, named SUBTIP. In when-new-tab-page trigger (form level trigger) i have the code:
clear_message;
if :system.tab_new_page = 'SUBTIPURI_PRODUS' then
show_view('SUBTIP');
--hide_view('INSTANTE_DEPENDENTE_MOBIL');
go_block('ACTIUNI_SUBTIPPRODSO');
execute_query;
else
hide_view('SUBTIP');
end if;In ORacle Developer 2000 (forms 5) it works ,when i change the tab page, the canvas is hided, but in Oracle Forms 10g, the canvas is still displayed. Why? The code is identical, in both version of forms.
ThanksHello,
Not sure it is a correct answer, but you cannot hide a canvas while the focus is located in one of the items hosted by that canvas.
Francois -
The Download list button in upper right corner of screen hides under "Reader" button? Does not show down loaded(?) file in the download folder afterward?
Trying to run a brokerage firm streaming quote app with java. Wondering if I may have deactivated the Download list button some how?Hey Sgt.Rics,
It sounds like you're experiencing some unexpected behavior in Safari, specifically the window layout blocking the Downloads button. I would check and make sure no third-party add-ons are causing the issue:
Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
http://support.apple.com/kb/TS3230
Welcome to Apple Support Communities!
Take care,
Delgadoh -
Stacked canvas dispalying problem
hi am displaying multiple stacked canvas on a content canvas. i have a problem in displaying them even hiding the first canvas(B) am not able to display the second canvas(A) its still showing the first canvas(B).
am using show_view(A) to display the stacked view while i use hide_view(B) to hide the canvas B
almost both the stacked canvas have same fields in particular i kept the mirror fields on the stack B from stack A.
my requirement is to display stacked canvas A or B dynamically!!
can any one direct me with some gud solution.
thanks in advance.
regards,
madhanHi Madan,
You are using correct function to do so. But you may need to manipulate.
When you want to show canvas A or B, follow the mentioned steps:
If you want to hide B and show A
IF canvas b is visible then
hide_view(B);
show_view (A);
go_Item (item_on_cavans A)
END IF;
And vice versa.
Cheers
Ram -
Go_item problem on stacked canvas
Hello.
I use stacked canvas in my form. On that canvas i have a button. User use this button to close stacked canvas. I use:
hide_view('canvas_name');
go_item('block.item_name');
It seems as go_item is not working. Cursor only moves to the block and to the first item in that block.
Why doesn't cursor move to item i choose?
Thanks.Hello.
It's still not working.
And i'm not hidding first canvas.
It is the main canvas. And on that canvas i press button to open small stacked canvas. And on that stacked canvas there is a button to close this canvas and to move cursor to one item on the main canvas. And that is not working. Cursor moves to the first block item on main canvas.
Maybe you are looking for
-
I have a vendor which has open items; this can be verified in FBL1N, however when I try to make a manual payment no open items appear in f-53, f-58, and when I try to clear open items using f-44 no open items appear in the transactions. I have verifi
-
Execute infopackage error, using custom FM Datasource
hi, experts, I have a problem with the data load from FM datasource to psa. (sourcesystem is oneself BI system). Moitor status message: Request still running Diagnosis No errors found. The current process has probably not finished yet. System Respons
-
I cannot open images in my email since the Firefox update. Help!
I cannot open images in my email or view the embedded photo in a new tab since the Firefox Update. "IE" will let me open them, but not Firefox... How can I fix this?
-
Regarding Priority for Sales Order
HI Gurus In a Make to Order scenario based on sales order say the customer wants it immediatly to go into production It needs to set priority for that corresponding production order how to do that Thanks in advance Rajesh
-
Content security policy not being respected
The following (seemingly valid) Content Security Policy does not work in Safari: script-src 'unsafe-eval' 'self' by.uservoice.com widget.uservoice.com www.google.com use.typekit.net js.stripe.com localhost:35739 Errors occur for a number of requests