How to change "window LookAndFeel" of applet?
hi~~
I have changed the LookAndFeel of Applet with following code:
try{
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
SwingUtilities.updateComponentTreeUI(frame);
catch(Exception e){}
,but WindowsLookAndFeel seem not to be shown when it run on IE.
why no any change?
I assume this is a windows box, and that you've tested that that look and feel exists already.
My guess would then be that Windows has an option, somewhere, that tells windows not to
use the LAF. It's labeled as "Do not decorate buttons", or something equally odd. Unfortunately,
I have no idea whatsoever where the option is.
Similar Messages
-
How to change window size dynamicalyy in scripts
HI,
how to change window size dynamicalyy in sap scripts.pls suggest me.You acnnot do that but what you can do is to have two layouts, having two windows with different sizes and calling one of them conditionally.
using start_form end_form functions:
open_form.
if cond 1.
call start_form. "pass form 1
call end_form.
endif.
if cond 2.
call start_form. "pass form 2
call end_form.
endif.
close_form.
Regards,
ravi -
Hİ,
İ have apple icons and I would like to change windows 7 icons.
How can I do?
subject editedyou may need to install 3rd party applications to change the icons.
which operation system do you have?
http://www.microangelo.us/mod.asp -
How to change Windows 7 file associations in the registry
Hi,
I have a group of computers that have Office 2010 installed and then PowerPoint Viewer 2007 was installed after that to temporarily resolve an SCCM 2007 patching issue. Needless to say, PowerPoint Viewer 2007 changed some of the PowerPoint 2010 file associations
to itself instead. I am scripting a clean-up operation to remove PowerPoint Viewer 2007 and set the file associations back to PowerPoint 2010. After doing some research, the few registry paths commonly called out do not contain the information that I am looking
to change.
HKEY_CLASSES_ROOT
HKEY_CLASSES_ROOT\Applications
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
The file associations that I need to set back to PowerPoint 2010 are as follows:
.potm, .potx, .ppsm, .ppsx, .pptm, .pptx
Does anybody know where to look for where these file associations are set in the registry?
Thanks,
RobThis is how it is done in vbscript as well:
http://www.visualbasicscript.com/tm.aspx?high=&m=97211&mpage=1#97217
Set objShell = Wscript.CreateObject("WScript.Shell")
objShell.RegWrite "HKCR\.potm\", "PowerPoint.TemplateMacroEnabled.12", "REG_SZ"
objShell.RegWrite "HKCR\.potx\", "PowerPoint.Template.12", "REG_SZ"
objShell.RegWrite "HKCR\.ppsm\", "PowerPoint.SlideShowMacroEnabled.12", "REG_SZ"
objShell.RegWrite "HKCR\.ppsx\", "PowerPoint.SlideShow.12", "REG_SZ"
objShell.RegWrite "HKCR\.pptm\", "PowerPoint.ShowMacroEnabled.12", "REG_SZ"
objShell.RegWrite "HKCR\.pptx\", "PowerPoint.Show.12", "REG_SZ"
One thing to note is that the user will need to log out and log in again to reload the changes to the registry which also updates the change to the file extensions. -
How to change window size?
My top level ancestor is a JFrame and I want to change my application window size. I found that there is a ComponentEvent.COMPONENT_RESIZED event but how I can fire this event?
thanksJFrame f = (JFrame)this.getTopLevelAncestor();
f.setSize(newX, newY);Of course, if the resize is according to a child component resizing..
f.pack();..should do the trick. -
How to change window resolution
I'm supporting a Solaris 9 customer that must change his window resolution to support our product. Can someone please assist in detailing the exact command to change his desktop resolution including the Refresh rate?
Thanks,
GaliThere are various commands based on which video card (aka frame buffer) you have installed.
Start with 'man fbconfig'. You might need to also look at other command such as 'man m64config' depending on your hardware. -
How to change window sizes dynamically in smartform
Hi,
Dear ABAP Experts,
I need to show different materials current sales by comparing previous years sales (month wise) as a table and their difference in the form of chart( diagram). Can anyone share how to draw chats(rectangular boxes) in smartform.
Please can any one tell me how to pass dynamic coordinates (left margin, width, upper margin and height) to create window. If I know this one I can solve my problem.
Thanks in advance,
Meeravali Shaik.hi Raju,
You can do onething. Create a variable in global defination of charcter lenth 1.
when you are selecting your address on the basis of address number. suppose we have two address add1 and add2.
if you get add1 set this variable 'X'.
otherwise set it 'Y'.
Now create two text node.
in one text node put your add1 and in other one put add2. in text node yyou will get tab conditions.
Put the condition varible = 'X' for add1.
and 'Y' for add2.
so it will execute one the basis of that condition and print the one of the addresses u have.
Hope this will help you out.
Reward if useful.
Regards,
Azad.
do remember to clear the variable after printing. -
Hello friends
How can I change the title "Oracle9iAS Forms Services - Microsoft Internet Explorer" to "my title" at forms run time?
From
Chirag PatelChirag,
which icon do you mean, the Browser icon? There is not much that you can do against it. Though a Browser allows you to change the title from a HTML page, you don't have access to the icon.
Frank -
How to change windows 7 ultimate lanuage from japanese to english
I just bought a dell computer in Japan where I live with Windows 7 Ultimate on it. I have read that it is possible to change the language from Japanese to english, but changing via language packs from Microsoft Updates or in regional language and keyboard
sections don`t work either... Dell support in Japan say it`s impossible aswell... Is this true?Hi,
Please visit the following guide to change the display language:
Install or change a display language
Windows 7 language packs are available for computers that are running Windows 7 Ultimate or Windows 7 Enterprise
Best Regards
Dale -
How to Change Windows XP Embeded SP3 on OEM device
Hi
I have an spectrum analyzer R&S FSP.
It have a Windows XP Embeded SP3 that we use for a remote desktop connection for monitoring from somewhere else.
I want to reinstall its OS , what should I do?XP Embedded is a customizable version of XP. You need to go back to the manufacturer of the spectrum analyzer to get the OS update or re-installed.
www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET -
How to change window tiling default
With 2 InDesign docs open, when I choose Window–Arrange–Tile in CS5, by default, the windows appear one on top of the other. Is there a way to make the default side by side instead?
Thanks,
CharlotteOther than an option to turn off the Application Frame on the Mac, the display options are identical. I speculated above that the choice in the widget might be "sticky," but I see that it is not, and as you say, there is no longer any option other than Tile in the menu, so you should use the widget to to arrange the windows rather than the menu.
I see I forgot to post this this morning, so here it is, a little late... -
How to change Window Switching from "cmd + tab" to "ctrl + tab"
Hi,
is there a way to switch windows as described in the topic?
Kind regards,
MichaelThx for the reply.
Thats what I feared... (I have to work with windows at work and get confused with the differen shortcuts all the time ) -
How to Change Windows media videos to work on your ipod?
can anyone help me
i need a free program that can convert my windows media movies to work for the ipod or ituneshey guys the same is happening to me. i bought my ipod 6 days ago, and i´ve tried to transfer videos from digital cameras (sony, canon and nicon) in mpeg format and I cant play them with audio.
What I do is just turn them to Ipod format, then the video is converted and the audio disapears. It´s not a problem of the ipod since I can´t hear the audio also in the software, where i converted them.
Please help me, I just wanna see and hear my videos.
Thank you. Tomas. -
How to change Window panel title size?
I have created a script with a gui Window with groups and panels. My issue is when I fire the script either from After Effects or from the Extendscript Debugger, I can't see the whole title on my panel title. Below is an image highlighting the error I am seeing.
Some containers have a "titleLayout" property (search the JavaScript Tool Guide pdf) but i just checked and panels don't have it (only tabbedpanels).
So the only way i bet is to make your panels wider, which you can do in many ways.
For instance : myPanel.preferredSize = [130, -1]; // sets the preferredSize.width to 130
Or myPanel.margins = [30,10,30,10]; // increase horizontal margins of the panel so it it becomes wider -
How can i increase size of applet
when i run my form in windows my applet don't visible full .how can change the size of applet.what property i have to set.i forget that property.
are you using an application server or the local OC4J container?
In both cases the height and width of your applet can be set in the formsweb.cfg file.
you can find this file under <oracle_home>/forms/server directory
search in the file for with and height
you can put a fixed size in pixels or in percentage of your screen resolution
hope it helps
Erwin
Maybe you are looking for
-
Drop em repository is taking very long in 11.1.0.7
i am configuring oracle enterprise manager in 11.1.0.7 i did try to create repository and got some errors. now i am dropping repository and it is taking very long. please tell me how to speed up this drop repository process .
-
I recently upgraded my computer to i7 4770k, 16gb ram and 780ti, windows 7 pro 64bit etc, its pretty much almost top of line pc right now but since i moved from xp to 7, youtube in Firefox is choppy and not smooth like before, its amazing on internet
-
Uncertain why this is happening? Each time I try to install the Oracle Client 11.2.0.3 on my laptop, I get this popup stating Error in CreateOUIProcess():5." Wny
-
How can I see pictures not imported using iphoto within iphoto?
I just got a new iMac and am converting over from a Dell PC. I have thousands of pictures that I copied over. I then synced my ipad and all those pictures imported using iPhoto. I liked the ability to see Events and Faces and ws thinking I might l
-
Plz help me to close new window ! ! ! ! ! ! !
Hi all, i'm a fresher in jsp. i write a jsp page with a 'text box' & a button. when i click the button, i want to see the html page that can choose somthing from it & then, i want to see the selected data in the 'text box' of jsp page of previous win