Central buffer for all iViews
Hi all,
Is it possible to store parameters in system buffer. Does it has public buffer for all WD applications to reach? I mean central buffer which all application can reach even from different iViews.
Cheers,
Peerasit
Hi Thomas,
You can use "Multiple Property Replacement" (located under Content Administration) to change the property for all existing iViews.
Simply start the replacement wizard for all iviews in the root folder "portal content" and set property with id "com.sap.portal.iview.ShowTray" to value "false" (because it is a boolean).
For more info on multiple property replacement see:
http://help.sap.com/saphelp_nw04s/helpdata/en/0f/764b87dfb948fcb13fd7695e157892/frameset.htm
Note that this action is irreversible, so you'd better try it first on a folder containing only one or two iViews, and I cannot be held responsible for any damage to your portal, etc, etc
Johan
Similar Messages
-
What is "Use Settings for All iViews"?
Dear all,
Could anyone tell me what is "Use Settings for All iViews" in the presentation setting of folder under the document sharing iView in the collaboration room?
Thanks and best regards,
MarcusThe layout set you choose here normally just applies to the exact iView you are currently in, so it is tight to the current folder as well as the iView you are using to see its content right now. Using another iView to display the content of this folder might use a different presentation. But if you want to make sure that this folder is presented in a certain way in every iView (e.g. if you want to show a picture folder always with a thumbnail explorer), then you choose "Use Settings for All iViews". But be careful: this is really sticky -- you won't get rid of it easily if the chosen layout has no "Details" link to the parent (e.g. an HTML renderer). In this case you can only reset this setting with the administrative "Folder Settings" helper under "Content Administration/KM content/Tools"...
Regards, /-/ansi -
What's the best way to setup a media server/central storage for all of my?
I was wondering what the best way to achieve a central media server for all my iTunes content + iPhoto's, calendar syncing and contact sharing is? This is what I currently have:
iMac 20" Aluminum + External HD Backup (kids)
Macbook Black (wife)
Macbook Pro 15" (me)
Airport Extreme 802.11n (obvious)
TimeCapsule 1TB (wifi backup for wife/me)
I would like to replace my PC in my office with a brand new Mac Pro Nehalem 8-Core, 8GB Ram, and 4TB, and replace my PC laptop in my living room attached to my tv, with an Apple TV.
I want to centralize all our Photos from vacations, etc. Music, videos, movies, that are currently split up over wife's macbook, kids imac and my macbook pro onto my soon to be purchased Mac Pro.
I want to be able to stream everything from my living room via Apple TV for when guests come over, dinner parties, etc. (plus I love apple and it keeps things clean)
I'm currently using MobileMe to sync all of our Calendars and Contacts with my main account, which is great, but MobileMe doesn't sync to family members accounts =
What would I need to do to centralize all this onto my future Mac Pro so that everyone has access all the time when they are home and the key here is, modify/update/change from their machines and sync it back/update it on the Mac Pro.
Also, I'm hoping Snow Leopard has some changes to iTunes to make this a little more possible, since we're right around the corner from this release. I don't really want to spend an additional $900+ on Snow Leopard Server to have to achieve these results, but if it makes it easier, and does the job, then I guess I might. This is all speculation though, since it's not out yet. I'd like to get this all sorted and setup within the next month.
I was considering a Drobo, they say they can throw up iTunes Server but, I appreciate everyone for reading this, and taking the time to respond!
Thanks!
Message was editedI'm in the process of setting up a smaller (and cheaper) but somewhat similar setup to what you want to do, so maybe one example might help point you in the right direction. My needs consist of a centralized location for data storage, which will include iPhoto libraries (I keep two separate ones), iTunes (which I also want served to the home theater system), something other than my laptop to play internet videos and downloaded content on my TV, all with ideally the lowest cost and energy use possible.
My solution was the new Mini with a FW800 external drive as the server/media hub and Airport gigabit as the network hub (it also handles the backup drive).
FW800 is fast enough to saturate a gigabit ethernet link, so I don't consider that much of a bottleneck. The Mini then has iTunes running at all times with its centralized library on it; it is hooked to the home theater via HDMI-DVI video and optical audio, so it can play music and also handle videos when desired; Front Row with the Apple remote is close enough to an AppleTV that I think it handles that well, and it's more full-featured than an AppleTV. It can further be used to display photos/slideshows/whatever on the TV for guests or such, or to surf from the couch with a wireless mouse/keyboard. You can also toss in an EyeTV for $150 and use that as a DVR if you feel like it.
When I want to edit photos or such on my desktop, the gigabit link is fast enough that I can run iPhoto without noticing any significant slowdown. Its also usable over wireless, though I have a dangling extra network cable to plug into a laptop for full gigabit speed if need be. iTunes, of course, shares its library, which can be played from any of the computers in the house if so desired (iPhoto can do that too if you just want to display).
If I REALLY wanted top speed (though I've even done video editing in iMovie via ethernet without issue), I could use a third party synch app (I like Sync) to mirror any of the content from the mini server to a local drive; this works fine with anything but multi-way synching, such as address books being modified in different locations. I'd probably try to set up one of those Mobile Me clone systems or use a 3rd party app if I needed to do that.
Again, maybe this isn't powerful enough or "synched" enough in terms of local storage for your taste, but the advantage is that a Mini uses a minute fraction of the power of a Mac Pro, so you're saving a lot on electricity if the computer will be powered up at all times as a server, and it's also a lot more full-featured as a home theater media hub than an AppleTV. And, heck, the thing is about as well equipped as my old top-of-the-line G5 tower for a 5th the cost and 1/15th the power and noise. -
Centralized View for all the Project Document in Solution Manager
we assign roadmap to our Implementation project and as per roadmap we upload different documents for the project(e.g. business case, project charter) at different phases of roadmap. can we see all the documents related to a project from a single centralized view??
Hi B_J,
it is correct, each document has attributes, on the attribute tab in the button bar, there is an icon to generate an url for the selected document. This link is stored in your windows clipboard, so you can past this link in an e-mail or wordfile. The person who gets the e-mail must have access to the Solution Manager via network, he needs no personal user in the system. The link used a service of Solution Manager(check in the Solution Manager IMG at the HTTP services). This service requires a user to read the document. If you have no user, then it is necessary that in the system a default user is assigned to the service or to its alias. Now to your second use case, the approval, you can not bring any information INTO Solution Manager, you can only answer the e-mail, with the info, yes the document is OK, but you can not set a status or an other attribute at the document, that the document is approved.
Regards,
uDo -
How to set Portal Theme for WDA iView different from user's Theme
Hi Experts!
I have dual-stack system: ABAP server + Java. I have WDA application in ABAP server and I deployed it to NW Portal via iView (using template).
There are two themes customized:
1: Standard - to be used for all iviews except WDA iviews. This theme is set as default for user.
2.: WDA theme - to be used for some WDA iviews IRRESPECTIVELY what them is set in personalization settings of the user.
So my question is:
Can I somehow set the Portal Theme to be used for specific iView no matter what Theme user has selected in his personalization?
Or if its not possible, can I set some specific Theme for WDA application?
So taks is to overcome settings for default portal theme for user and replace it with different theme. Is this possible?
Thanks in advance.Are you using an LDAP as your UME, or are the user records from from R/3 ?
Apparently (Ive never done it) you used to be able to force a default language by editing this file (back in the EP5 days):
<J2EE root>\WEB-INF\portal\system\properties\prtDefault.properties
Look at the following lines :
This is the default language to be used when none is specified
request.defaultlanguage=en
request.defaultcountry=us
If you prefer to have the same language for all users no matter their user locale, change the lines to this :
This is the default language to be used when none is specified
request.mandatorylanguage=en
request.mandatorycountry=us
I hope this works out for you -
Central storage for family photos
My wife and I have seperate apple IDs however I have setup family sharing. To gain space on our iPads, iPhones I recently purchased a 200gb storage plan. Fantastic all my photos are on the cloud and accessible from any of my devices.
I want to share this storage with my wife so we have a central place for all our family photos.
Question:
1. Is it possible to share storage space for photos?
2. If the answer to the above is no, how would people recommend we manage our photo storage so everything is stored in a single location to view on devices?
thanks in advance.icloud backs up everything on your iOS5 device to the cloud, but there is no way of accesing this stuff directly. Its only for emergency cases to restore your device from the web.
idisk is no more, so you can't use iCloud as space for files . You can only sync or manually upload iwork09 comaptible office files ( using a browser at icloud.com/iwork ) . , this feature is only available if you have iOS pages,numbers or keynote installed. Again : no other files are storeable by yourself.
Gallery and Homepage is no more , you can't share Pictures or Videos with anyone else but yourself :
Photostream is only streaming your recent pictures across your devices that use the same Apple-ID. Videos are NOT included at all in the stream.
icloud is in no way what MobileMe was. If you look for features of MM, you must search outside of Apple. -
Identical Related Link for all pages
We're trying to put a set of identical Related Link pages for all pages.
I tried the following.
Modify the DefaultFramework Page.
Drill into Desktop Innerpage
It consists of :
Detailed Navigation
Dynamic Navigation
Drag&Relate
Related links
Portal Favorites
Content Area
Made of a Copy of the Content Area iview, and added 2 Relate Links into this iview (save it as Content_Area_2)
Removed the Original Content Area under Desktop Innerpage and added Content_Area_2)
What I essentially did was assigned related links to the content area of the Desktop Innerpage. That should bring up the Related Links for all iViews.
Is that how it can be done ?
Does not seem to work.
Is there another way of doing it.boerli wrote:
> In GoLive there was a wonderful feature which allowed
you to click any image in
> the bin and it would display instantly all the links to
pages on which that
> picture was used. It allowed you to find content and
other pics on other pages
> related to that image instantly. It prevented
duplication. Wonderful feature I
> used constantly on running our huge websites.
>
> I can't find anything like that in DW. Now I have to try
to remember on which
> other pages I used that image. It's a nightmare...
>
> Can anyone help?
>
> boerli
>
> Am I missing something? Can anyone help me find this
feature?
You want to find all pages that have a particular image on
it?
From the Edit menu select Find and Replace.
In the Find In drop down select Entire Current Local Site
In the Search drop down select Source Code
Then in the Find field type in the filename
Now click Find All
The search results will show you all pages, you can double
click on each
file and the page will open with the filename highlighted in
the code.
Its not perfect, but Dreamweaver isn't GoLive. If its a
feature you
would like to see ask Adobe:
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Dooza -
How does select stmt with for all entries uses Indexes
Hello all,
I goes through a number of documents but still confused how does select for all entries uses indexes if fields are not in sequences. i got pretty much the same results if i take like two cases on Hr tables HRP1000 and HRP1001(with for all entries based upon hrp1000). Here is the sequence of index fields on hrp1001 (MANDT, OTYPE, OBJID, PLVAR, RSIGN, RELAT, ISTAT, PRIOX, BEGDA, ENDDA, VARYF, SEQNR). in second case objid field is in sequence as in defined Index but i dont see significant increase in field even though the number of records are around 30000. My question is does it make a differrence to use field sequence (same as in table indexes) in comparison to redundant field sequence (not same as defined in table indexes), secondly how we can ge tto know if table index is used in Select for entries query i tried Explain in ST05 but its not clear if it uses any index at all in hrp1001 read.
here is the sample code i use to get test results.
test case 1
REPORT zdemo_perf_select.
DATA: it_hrp1000 TYPE STANDARD TABLE OF hrp1000 WITH HEADER LINE.
DATA: it_hrp1001 TYPE STANDARD TABLE OF hrp1001 WITH HEADER LINE.
DATA: it_hrp1007 TYPE STANDARD TABLE OF hrp1007 WITH HEADER LINE.
DATA: it_pa0000 TYPE STANDARD TABLE OF pa0000 WITH HEADER LINE.
DATA: it_pa0001 TYPE STANDARD TABLE OF pa0001 WITH HEADER LINE.
DATA: it_pa0002 TYPE STANDARD TABLE OF pa0002 WITH HEADER LINE.
DATA: it_pa0105_10 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: it_pa0105_20 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: t1 TYPE timestampl,
t2 TYPE timestampl,
t3 TYPE timestampl
SELECT * FROM hrp1000 CLIENT SPECIFIED INTO TABLE it_hrp1000 bypassing buffer
WHERE mandt EQ sy-mandt AND
plvar EQ '01' AND
otype EQ 'S'AND
istat EQ '1' AND
begda <= sy-datum AND
endda >= sy-datum AND
langu EQ 'EN'.
GET TIME STAMP FIELD t1.
SELECT * FROM hrp1001 CLIENT SPECIFIED INTO TABLE it_hrp1001 bypassing buffer
FOR ALL ENTRIES IN it_hrp1000
WHERE mandt EQ sy-mandt AND
otype EQ 'S' AND
* objid EQ it_hrp1000-objid and
plvar EQ '01' AND
rsign EQ 'B' AND
relat EQ '007' AND
istat EQ '1' AND
begda LT sy-datum AND
endda GT sy-datum and
sclas EQ 'C' and
objid EQ it_hrp1000-objid.
* %_hints mssqlnt 'INDEX(HRP1001~0)'.
*delete it_hrp1001 where sclas ne 'C'.
GET TIME STAMP FIELD t2.
t3 = t1 - t2.
WRITE: 'Time taken - ', t3.
test case 2
REPORT zdemo_perf_select.
DATA: it_hrp1000 TYPE STANDARD TABLE OF hrp1000 WITH HEADER LINE.
DATA: it_hrp1001 TYPE STANDARD TABLE OF hrp1001 WITH HEADER LINE.
DATA: it_hrp1007 TYPE STANDARD TABLE OF hrp1007 WITH HEADER LINE.
DATA: it_pa0000 TYPE STANDARD TABLE OF pa0000 WITH HEADER LINE.
DATA: it_pa0001 TYPE STANDARD TABLE OF pa0001 WITH HEADER LINE.
DATA: it_pa0002 TYPE STANDARD TABLE OF pa0002 WITH HEADER LINE.
DATA: it_pa0105_10 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: it_pa0105_20 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: t1 TYPE timestampl,
t2 TYPE timestampl,
t3 TYPE timestampl
SELECT * FROM hrp1000 CLIENT SPECIFIED INTO TABLE it_hrp1000 bypassing buffer
WHERE mandt EQ sy-mandt AND
plvar EQ '01' AND
otype EQ 'S'AND
istat EQ '1' AND
begda <= sy-datum AND
endda >= sy-datum AND
langu EQ 'EN'.
GET TIME STAMP FIELD t1.
SELECT * FROM hrp1001 CLIENT SPECIFIED INTO TABLE it_hrp1001 bypassing buffer
FOR ALL ENTRIES IN it_hrp1000
WHERE mandt EQ sy-mandt AND
otype EQ 'S' AND
objid EQ it_hrp1000-objid and
plvar EQ '01' AND
rsign EQ 'B' AND
relat EQ '007' AND
istat EQ '1' AND
begda LT sy-datum AND
endda GT sy-datum and
sclas EQ 'C'." and
* objid EQ it_hrp1000-objid.
* %_hints mssqlnt 'INDEX(HRP1001~0)'.
*delete it_hrp1001 where sclas ne 'C'.
GET TIME STAMP FIELD t2.
t3 = t1 - t2.
WRITE: 'Time taken - ', t3.Mani wrote:
Thank you for your answer, its very helpful but i am still nor sure how does parameter rsdb/max_blocking_factor affect records size.
Hi,
The blocking affects the size of the statement and the memory structures for returning the result.
So if your itab has 500 rows and your blocking is 5, the very same statement will be executed 100 times.
Nothing good or bad about this so far.
Assume, your average result for an inlist 5 statement is 25 records with an average size of 109 bytes.
You average result size will be 2725 byte plus overhead which will nearly perfectly fit into two 1500 byte ethernet frames.
Nothing to do in this case.
Assume your average result for an inlist 5 statement is 7 records with an average size of 67 bytes.
You average result size will be ~ 470 byte plus overhead which will only fill 1/3 of a 1500 byte ethernet frame.
In this case, setting the blocking to 12 ... 15 will give you 66% network transfer performance gain,
and reduces the number of calls to the DB by 50%, giving additional benefit.
Now this is an extreme example. The longer the average row length is, the lower will be the average loss in the network.
You have the same effects in memory structures, but on that layer you are fighting single micro seconds instead of
hundreds of these, so in real life it is rarely measurable.
Depending on table-statistics, oracle might decide for short inlists to use a concatanation instead of an inlist.
This is supposed to be more costy, but I never had a case where I could proove a big difference.
Values from 5 to 15 for blocking seem to be ok for me. If you have special statements in customer coding,
it #might# be benefitial to do the mentioned calculations and do some network tracing to see if you can squeeze your
network efficiency by tuning the blocking.
If you have jumbo frames enabled, it might be worth to be analyzed as well.
If you are only on a DB-CI system that is loopback connected to the DB, I doubt there might be a big outcome.
Hope this helps
Volker -
Hi Team,
We have notification subscription configured currently, which will send email notification for Central team for all alerts generated in SCOM. Recently we got complaint from messaging(exchange server) team, that the exchange related email notifications are
going to other teams.
How shall we exclude "All exchange 2010 entities" group from current subscription.
Thanks,
Dinesh
Thanks & Regards, DineshHi
There is no functinality to exclude objects in notifications. You would have to select everything that you want to be alerted on. Either you select all Groups, classes or split up the subscription per "Technology" like SQL, IIS etc. and select
the corresponding MPs to be alerted on like all rules and Monitors.
Probably selecting the classes would be the best option
https://social.technet.microsoft.com/Forums/systemcenter/en-US/7e8a5d4a-1727-4448-a2d8-85950645e01a/notification-subscription-by-management-pack
This might help also
http://blogs.technet.com/b/kevinholman/archive/2008/06/26/using-opsmgr-notifications-in-the-real-world-part-1.aspx and
http://myitforum.com/myitforumwp/2014/03/04/system-center-operations-manager-2012-r2-generating-notifications-by-management-pack/
Cheers,
Stefan
Blog: http://stefanroth.net If my post helped you, please take a moment to vote as helpful and\or mark as an answer -
Networking iTunes and central location for music
Starting to get really frustrated with something I think should be simple. We have multiple computers in our home and a Mac Mini server I'd like to use for a centralized location for ALL of our iTunes music. I've created a shared media library for all of the media I've downloaded to the server and can see it on all of the computers. HOWEVER, we just made our first iTunes purchase since setting this all up, only to discover we can't download music directly to the server - we have to download it to the individual computer, copy it to the server, then manually add it to the server's library. ***?
There's got to be a better way to do this. Can't we have all of the computers in the house reading from the server, and when new music is added set it all to go to the same library on the server that updates automatically when new files are added? Anyone help?
Thanks.Jolly Giant wrote:
while you wait for your feature request(s) to be implemented, you might want to have a look @ this (rather old, to be sure) article.
And make sure to read all the comments posted at the end of that article; there are a number of sad stories of users who didn't heed the restrictions and others who were confused by the typos and poor editing of the story (particularly the complication produced by the unnecessary use of DropBox in the procedure.)
-Steve -
Central location for ssh authorized public keys?
Hi guys,
I have been studying how to use ssh, but this has been bothering me and I will really appreciate any help.
When you generate public keys for users, they go to the ~/.ssh/authorized_keys . If you as root, want to take control of all users public keys, say you want to have a central location for all public keys. You want sshd to read all keys from a different location rather than ~/.ssh/authorized_keys.
How will you go about doing this?
Thanks for your help this.
ArreyYou're welcome and enjoy your 'practice' ;-)
however, I forgot to mention that if you modify the /etc/ssh/sshd_config file, you should restart the sshd daemon.
$0.01: Restart the SSH daemon FROM ANOTHER SHELL to keep an active/running shell on the system, to recover, just in case.
$0.02: I suggest a two-steps approach to be sure that the sshd daemon is correctly restarted and the new ssh session is not picking up a thread that hasn't properly re-read the configuration
# svcadm disable ssh; sleep 5; svcadm enable ssh
HTH,
Marco -
No preview button or option for all ESS MSS iViews under portal content
Hi All,
We are doing a green field implementation for one of our clients, we have installed ECC 6.0 with EHP5 in R/3 system and SAP Netweaver Portal 7.02 with SP8. We have also deployed suitable ESS MSS business components from service market place.
BP_ERP5ESS 1.41
BPERPESSWDA 1.50
BP_ERP5MSS 1.51
As it is EHP5 in ECC all the Homepage framework, Areas, Sub areas, services are preconfigured for standard ESS MSS business areas.
In Portal side under Portal content - Content Provided by SAP - End User Content - Employee Self Services -
we are not able to preview any of the iViews. can anyone suggest whether what may be wrong...?Hi Sandeep,
1. Yes we are accessing portal through FQDN
2. IE 6.0
3. I mentioned above, its SAP Netweaver 7.02 with SP8
4. Yes, the user I am using has Super Administrator role
5. There are roles for ESS in ECC
This problem of preview is for other iViews also. I mean other than ESS MSS iViews.
Thanks,
Kalam. -
Want Central Goods Recipient for all users
Hi All,
We want to manitain Central Goods Recipient for all users, now the Recipient is the Goods reciever.
How will we do configuration for this.
We have 5 users in one Org. Unit, how we will make one as default.
Thanks
RaviSatish,
I did not quite get what you are trying to say.Could you please be more detailed.The below is my requirment and we are on ECS.
I want to have a specific user as the central goods receipent.This user must be able to confirm goods and services for PO's created by all other users in that organization.
My understanding from this thread is that,this can be achived by assigning the role "SAP_BBP_STAL_RECIPIENT",to that user and that user will be able to confirm goods and services for all PO's created by other user also.I tried to do the same and expected to see all PO's created by all other users when i click "Confirm Goods/Services centrally" .
Thanks -
Dear SAP Gurus,
We are implementing TREX version 7.10.50 for Talent Management ECC 6.0 - EHP 5.
I'd like to ask you question regarding ESH_ADM_INDEX_ALL_SC program
which used to create search connector for TREX and perform initial indexing for all search connectors.
As we know we can perform indexing using ESH_COCKPIT transaction code or use ESH_ADM_INDEX_ALL_SC.
If I try to perform indexing using ESH_COCKPIT, all search connectors can be indexed ("searchable" column are "checked" and status are changed to "Active" for all search connectors).
However, if I try to perform indexing using ESH_ADM_INDEX_ALL_SC, not all search connectors are indexed.
I've traced the program ESH_ADM_INDEX_ALL_SC using ST01 transaction code and found these error:
- rscpe__error 32 at rscpu86r.c(6;742) "dest buffer overflow" (,)
- rscpe__error 32 at rscpc (20;12129) "convert output buffer overflow"
- rscpe__error 128 at rstss01 (1;178) "Object not found"
Please kindly help me to solve this issue,
Thank you very much
Regards,
BobbiHi Luke,
Please find below connectors and the status after running ESH_ADM_INDEX_ALL_SC:
HRTMC AES Documents Prepared
HRTMC AES Elements Prepared
HRTMC AES Templates Prepared
HRTMC Central Person Prepared
HRTMC Functional Area Prepared
HRTMC Job Prepared
HRTMC Job Family Prepared
HRTMC Org Unit Prepared
HRTMC Person Active
HRTMC Position Prepared
HRTMC Qualification Active
HRTMC Relation C JF 450 Active
HRTMC Relation C Q 031 Active
HRTMC Relation CP JF 744 Active
HRTMC Relation CP P 209 Active
HRTMC Relation CP Q 032 Active
HRTMC Relation CP TB 743 Active
HRTMC Relation FN Q 031 Active
HRTMC Relation JF FN 450 Active
HRTMC Relation JF Q 031 Active
HRTMC Relation P Q 032 Active
HRTMC Relation S C 007 Active
HRTMC Relation S CP 740 Active
HRTMC Relation S JF 450 Active
HRTMC Relation S O 003 Active
HRTMC Relation S O Area of Responsibility Active
HRTMC Relation S P 008 Active
HRTMC Relation S Q 031 Active
HRTMC Relation S S Manager Active
HRTMC Relation SC JF FN Active
HRTMC Structural authority Active
HRTMC Talent Group Prepared
As suggested by OSS, we implement SAP Note 1058533.
Kindly need your help.
Thank you very much
Regards
Bobbi -
How to give Common Background color for all JPanels in My Swing application
Hi All,
I am developing a swing application using The Swing Application Framework(SAF)(JSR 296). I this application i have multiple JPanel's embedded in a JTabbedPane. In this way i have three JTabbedPane embedded in a JFrame.
Now is there any way to set a common background color for the all the JPanel's available in the application??
I have tried using UIManager.put("Panel.background",new Color.PINK);. But it did not work.
Also let me know if SAF has some inbuilt method or way to do this.
Your inputs are valuable.
Thanks in Advance,
Nishanth.CIt is not the fault of NetBeans' GUI builder, JPanels are opaque by default, I mean whether you use Netbeans or not.Thank you!
I stand corrected (which is short for +"I jumped red-eyed on my feet and rushed to create an SSCCE to demonstrate that JPanels are... mmm... oh well, they are opaque by default... ;-[]"+)
NetBeans's definitely innocent then, and indeed using it would be an advantage (ctrl-click all JPanels in a form and edit the common opaque property to false) over manually coding
To handle this it would be better idea to make a subclass of JPanel and override isOpaque() to return false. Then use this 'Trasparent Panel' for all the panels where ever transparency is required.I beg to differ. From a design standpoint, I'd find it terrible (in the pejorative sense of the word) to design a subclass to inconsistently override a getter whereas the standard API already exposes the property (both get and set) for what it's meant: specify whether the panel is opaque.
Leveraging this subclass would mean changing all lines where a would-be-transparent JPanel is currently instantiated, and instantiate the subclass instead.
If you're editing all such lines anyway, you might as well change the explicit new JPanel() for a call to a factory method createTransparentJPanel(); this latter could, at the programmer's discretion, implement transparency whichever way makes the programmer's life easier (subclass if he pleases, although that makes me shudder, or simply call thePanel.setOpaque(false) before returning the panel). That way the "transparency" code is centralized in a single easy to maintain location.
I had to read the code for that latter's UI classes to find out the keys to use (+Panel.background+, Label.foreground, etc.), as I happened to not find this info in an authoritative document - I see that you seem to know thoses keys, may I ask you where you got them from?
One of best utilities I got from this forum, written by camickr makes getting these keys and their values very easy. You can get it from his blog [(->link)|http://tips4java.wordpress.com/2008/10/09/uimanager-defaults/]
Definitely. I bit a pair of knucles off when discovered it monthes after cumbersomely traversing the BasicL&F code...
Still, it is a matter-of-fact approach (and this time I don't mean that to sound pejorative), that works if you can test the result for a given JDK version and L&F, but doesn't guarantee that these keys are there to stand - an observation, but not a specification.
Thanks TBM for highlighting this blog entry, that's the best keys list device I have found so far, but the questions still holds as to what specifies the keys.
Edited by: jduprez on Feb 15, 2010 10:07 AM
Maybe you are looking for
-
Why do I keep getting a firefox.exe - Application Error whe I shut down firefox?
After firefox automatically updated to version 11, I get an error when I shut down firefox: firefox.exe - Aplication Error The instruction at :0x7c809af1" referenced memory at "0x00100000". the memory could not be "read". click OK to terminate the pr
-
Planning EPMServer0 keeps crashing
Hi, We raised a SR over 3 weeks ago and have been trying to identify why the EPMServer0 crashes every 3 to 4 days and we need to restart it. The memory is set as -Xms3072m –Xmx8160m Monitoring the server it generally stays with the min level. We neve
-
Hi all! I'm having a bit of a dilemma. My xserver seems to be working correctly, but isn't. I have shares setup on and I can access them via AFP and all is working well that is on these shares. But, when I startup WorkGroup manager, either remotely o
-
How to Remove items without opening new dispute for FHA Mortgage approval
Hello, these forums are very helpful. How do I remove items from the bureaus without filing a dispute? For example, I have several old accounts that are expired now. On 2 of them, I tried calling the creditors directly and they were so old that they
-
How can I get my own home movies into the Video app in iOS 5
How can I get my own home movies to be visible in the Video app in iOS 5. where do I place them and what format does iPhone want it to be in? thanks