How to find JPanel viewable or drawing area size
hi,
I have a two small question. First one is, I have a JPanel what I need is to find the viewable area size or the drawing size of the Panel. I don't want to get the size of the Title bar. All I need is how to find the actual drawing area not including the title bar. I know how to get the total size of the JPanel, I just needs to know how to get the drawing area size where you put your components. e.g. if the size of my Panel is (300,300) then it also includes the title bar and the border too. But I need to find or get only the area size where we actually put our components.
Another question is how can I get the size of my Title bar means the width and height.
I'll really appreciate for any help
Thanks
Er... what's wrong with panel.getSize()?
Similar Messages
-
How to find out Which SAP programs are affecting Which Z programs?
Do we have a program/tool that can tell us the following:
How to find out Which SAP programs are affecting Which Z programs in the entire development server?
We have a list of SAP programs and a list of custom u2018zu2019 programs, which ones impact each other? I know we have a u201Cwhere usedu201D functionality, however that is at the object by object level.
We need are looking for something a little larger u2013
thanks in advance
VishnuDo we have a program/tool that can tell us the following:
How to find out Which SAP programs are affecting Which Z programs in the entire development server?
We have a list of SAP programs and a list of custom u2018zu2019 programs, which ones impact each other? I know we have a u201Cwhere usedu201D functionality, however that is at the object by object level.
We need are looking for something a little larger u2013
thanks in advance
Vishnu -
How to find my iPhone if they are still in offline mode ? My phone has been stollen in my college yesterday.
You can't.
What To Do If Your iDevice or Computer Is Lost Or Stolen
iPhone, iPod Touch, and iPad
If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
1. Reporting a lost or stolen Apple product
2. Find my lost iPod Touch
3. AT&T. Sprint, and Verizon can block stolen phones/tablets
4. What-To-Do-When-Iphone-Is-Stolen
5. What to do if your iOS device is lost or stolen
6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
7. Find My iPhone
8. Report Stolen iPad | Stolen Lost Found Online
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
1. Find My iPhone
2. Setup your iDevice on iCloud
3. OS X Lion/Mountain Lion- About Find My Mac
4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
Mac Computer
Find My Mac can be used from Find My Phone at iCloud.com and via Find
My Phone on your iDevice.
The following is third-party anti-theft software:
1. STEM 2.1
2. MacPhoneHome 3.5
3. MacTrack 7.5.0
4. VUWER 1.7
5. Sneaky Bastar* 0.2.0
6. Undercover 5.1.1
7. LoJack for Laptops -
How to find out the values which are assigned in authority group
Hi to all
Please tell me where can I find out the values which are assigned in authority object according to roles.
for ex :
Changed Customer: Account Authorization F_KNA1_BED
Changed Customer: Account Authorization T-DR50175601
Activity 01, 02, 03, 08 ACTVT
Authorization Group 5100 BRGRU
F_KNA1_BED is the authority object , assigned to one user.
He can access the authorization group 5100. I want to check that value in my program.
How ?
Where it is stored.
Please help me....
Regards
Anubhav GuptaHi Anubhav,
Please use this FM "SUSR_USER_AUTH_FOR_OBJ_GET" and pass the object name in it . You would get the values for that particular object.
Thanks
Nitin Sachdeva -
How to find Classes to which characterstics are assigned
Hi,
How to find the classes to which a particular characterstics are assighned in 46B.
I have characterstics and I should able to find the class/classes to which it is assighned.
I have a BAPI BAPI_CHARACT_GETWHEREUSEDLIST which does the same as in 5.0 and I want the same FM or BAPI where it is used in 46B.
Best Regards,
MarkHere's an example of a way to find classes based on characteristics if you need to write your own. Obviously this is for a report, but you get the idea.
select-options: s_atnam for cabn-atnam.
data: begin of t_class occurs 0,
class like klah-class,
atnam like cabn-atnam,
end of t_class.
select klahclass cabnatnam into table t_class
from klah inner join ksml
on klahclint = ksmlclint
inner join cabn
on ksmlimerk = cabnatinn
where cabn~atnam in s_atnam. -
How to find list of accounts which are moved out?
Hello Experts,
Can anyone please tell me how to find inactive accounts i.e. which are moved out.
following logic has been given but i am not able to find the inactive accounts.
The inactive accounts can be identified by the Move-In/Out dunning procedure.
is there any table where i can find out?
Thanks,
Sarang
Edited by: sarang gujrati on Dec 30, 2008 10:26 AMQuery on table : EVER.
select vertrag from ever where auszdat(move-out) = sy-datum.
EVER table
EINZDAT ( Move-in date)
AUSZDAT( Move-out-date)
EAUS :: Move-in Doc. for Cont Account.
EAUSV :: Move-in Doc. for Cont.
You can query on these tables also.
Let me know if you need more information on this.
Regards,
Shiva Kumar -
How to find the reports/Txs that are affected by changes made in NA30
Hi All,
Does anyone know how to find the reports and transactions that are affected by ISH Billing (Interim Billing /Final billing) in hte Tx NA30. I need to modify the some functiionality of Interim billing at NA30 and still maintain the consitenecy of NA30.
Many thanks & Regards,
VijayaNo idea about any such report but from SAP help got following list of billing reports. It might be helpful
RNAABGR0 IS-H: Revenue Accrual
RNAABRKZ IS-H: Change Billing Indicator of a Case
RNABD000 IS-H: Patient Billing
RNABILB0 IS-H: Change Billing Block via Conditions
RNABILB1 IS-H: Change Billing Block via Conditions (Outpatient Cases)
RNADIN03 IS-H: Billing Document Mass Print Program
RNAFSPER IS-H: Change Billing Block
RNANFAL0 IS-H: Set Cases Without Billable Services to "Final Billed"
RNANFAL1 IS-H: Set Outpatient Cases Without Services to "Final Billed"
RNANFAL2 IS-H: Set Fully Billed Cases to "Final Billed"
RNASED00 IS-H: Delete Case Selections
RNASEK00 IS-H: Copy Case Selection
RNASELM0 IS-H: Billing - Process Messages
RNASEL00 IS-H: Case Selection
RNASEL01 IS-H: Case Selection via Outpatient Visits
RNASTO01 IS-H: Cancel Billing Documents for Case [Live Mode]
RNASTO02 IS-H: Cancel Billing Documents for Case: Mass Partial Cancellation [Live Mode]
RNASTO03 IS-H: Cancel Invoice Items per Case (Partial Cancellation) [Live Mode]
RNASTO04 IS-H: Cancel Provisional Invoice
RNAPRV04 IS-H: Cost Reimbursement u2013 Direct Patient Billing
RNAENT00 IS-H: Billing Status of Inpatient Cases
RNA_CASCADE_BILLING IS-H: Cascade Bill Processing -
How to find out what camera files are supported in CS4
Hi guys,
I've searched support and this forum and have not been able to find an answer. We are going to be purchasing a new camera in the not too distant future and need to know if CS4 will support the one we eventually purchase or if we will have to upgrade. Is there anywhere on the Adobe site that has a list of supported files for Camera Raw in CS4?
Thanks for any help, LindaThe general answer to your question (for the benefit of future readers) is this:
1. Browse to the Photoshop and Camera Raw updates page:
Windows:
http://www.adobe.com/support/downloads/product.jsp?product=39&platform=Windows
Mac:
http://www.adobe.com/support/downloads/product.jsp?product=39&platform=Macintosh
2. Note the major heading for the version of Photoshop you have or are interested in (Version CS5, Version CS4, etc.)
3. Note what version of Camera Raw is near the top of that section (i.e., the most recent update for that version of Photoshop).
4. Follow the Camera Raw x.x Update link.
5. In the Camera Raw update page, follow the Camera Raw x.x ReadMe link.
6. Find the list of supported cameras and raw formats and see if the camera you have or are interested in is listed.
Hope this helps.
-Noel -
How to find the lines where messages are raised?
Hi experts,
I have a great difficult to find some points where a message is raised.
In GUI interface, we can use the u201CUsed-Listu201D option and the system show us the lines where the message is raised.
In web-client, some good SAP programmers wrote the code u201Cif 1=2 message u2026u201D after he/she input message in the message manager classes (cl_bsp_wd_message_service, cl_crm_genil_global_mess_cont, etc). So the u201CUsed-Listu201D resource manages to find those points.
However, some bad programmers didnu2019t do that and it is almost impossible to know where the message is raised in certain situation, though I have its message class name and its number, for instance, COM_PARTNER u2013 559.
Is there any tip about how to find a calling point?
Regards,
AndréThis will tell you the directory that contains the running program:
System.getProperty("user.dir") -
How to find accurate number of Rows, and size of all the tables of a Schema
HI,
How to find the accurate number of Rows, and size of all the tables of a Schema ????
Thanks.SELECT t.table_name AS "Table Name",
t.num_rows AS "Rows",
t.avg_row_len AS "Avg Row Len",
Trunc((t.blocks * p.value)/1024) AS "Size KB",
t.last_analyzed AS "Last Analyzed"
FROM dba_tables t,
v$parameter p
WHERE t.owner = Decode(Upper('&1'), 'ALL', t.owner, Upper('&1'))
AND p.name = 'db_block_size'
ORDER by 4 desc nulls last;
## Gather schema stats
begin
dbms_stats.gather_schema_stats(ownname=>'SYSLOG');
end;
## Gather a particular table stats of a schema
begin
DBMS_STATS.gather_table_stats(ownname=>'syslog',tabname=>'logs');
end;
http://www.oradev.com/create_statistics.jsp
Hope this will work.
Regards
Asif Kabir
-- Mark the answer as correct/helpful -
How to find out if any masters are in my Library?
Hi!
I've been using Aperture for a while (most masters are on different hard drives, but maybe some are in my library by mistake when I imported them), now want to consolidate all my photo-masters on a separate "photo" hard drive and leave in my Aperture Library only the previews and the adjustments.
I have some projects in my library, and my library is 12 GB. Is there a quick way to find out if any of my masters are in the library so I can "take them out" and put them on my separate HD?
If there was a way to sort by "badge" and see the ones not referenced that would be nice.
Thanks for any help!Sorry I see I put my question in the wrong category, it should not be in "Book Printing". Sorry, I will report in the right place.
Not sure how to delete this one, though, will mark as answered if I can't find out how to delete it. -
How to find out which "purchased items" are not authorized?
I have an iPhone 5, and my son has an iPod touch that are both synced to iTunes on my MacBook Pro. Since I upgraded the MBP to Yosemite, I can no longer sync the apps on the iPod; it always responds with "The iPod could not be synced because this computer is no longer authorized for purchased items that are on this iPod".
The iPod contains apps that are purchased with my Apple ID, and apps purchased with my son's own Apple ID. I have deauthorized all computers from both accounts, and authorized iTunes again for both accounts; however, trying to sync the iPod continues to generate this error message.
Is there any way to find out out which specific app(s) are generating this conflict? If I knew which of the (more than 300 in total) apps cause this conflict, I could probably remove/reinstall/do something about them; but as it stands, the error message doesn't help me at all.I have an iPhone 5, and my son has an iPod touch that are both synced to iTunes on my MacBook Pro. Since I upgraded the MBP to Yosemite, I can no longer sync the apps on the iPod; it always responds with "The iPod could not be synced because this computer is no longer authorized for purchased items that are on this iPod".
The iPod contains apps that are purchased with my Apple ID, and apps purchased with my son's own Apple ID. I have deauthorized all computers from both accounts, and authorized iTunes again for both accounts; however, trying to sync the iPod continues to generate this error message.
Is there any way to find out out which specific app(s) are generating this conflict? If I knew which of the (more than 300 in total) apps cause this conflict, I could probably remove/reinstall/do something about them; but as it stands, the error message doesn't help me at all. -
How to find out which materialized views are running on the DB?
So I have a long list of MVs stored on the DB.
Is there a script to find out which MVs are being refreshed right now?
Help!
ThanksHi ,
You can use the following data dictionary view to get information on when Mview was last refreshed--
SQL> desc DBA_MVIEWS
Name Null? Type
OWNER NOT NULL VARCHAR2(30)
MVIEW_NAME NOT NULL VARCHAR2(30)
CONTAINER_NAME NOT NULL VARCHAR2(30)
QUERY LONG
QUERY_LEN NUMBER(38)
UPDATABLE VARCHAR2(1)
UPDATE_LOG VARCHAR2(30)
MASTER_ROLLBACK_SEG VARCHAR2(30)
MASTER_LINK VARCHAR2(128)
REWRITE_ENABLED VARCHAR2(1)
REWRITE_CAPABILITY VARCHAR2(9)
REFRESH_MODE VARCHAR2(6)
REFRESH_METHOD VARCHAR2(8)
BUILD_MODE VARCHAR2(9)
FAST_REFRESHABLE VARCHAR2(18)
LAST_REFRESH_TYPE VARCHAR2(8)
LAST_REFRESH_DATE DATE
STALENESS VARCHAR2(19)
AFTER_FAST_REFRESH VARCHAR2(19)
UNKNOWN_PREBUILT VARCHAR2(1)
UNKNOWN_PLSQL_FUNC VARCHAR2(1)
UNKNOWN_EXTERNAL_TABLE VARCHAR2(1)
UNKNOWN_CONSIDER_FRESH VARCHAR2(1)
UNKNOWN_IMPORT VARCHAR2(1)
UNKNOWN_TRUSTED_FD VARCHAR2(1)
COMPILE_STATE VARCHAR2(19)
USE_NO_INDEX VARCHAR2(1)
STALE_SINCE DATE
SQL> -
How to find out which context attributes are mapped to view elements
Hi All,
We have a custom WD application ( on ECC 6.0 - SAP Basis 70 ) where we have a context node whose 70 attributes are displayed over 2 seperate views.
When a user enters the view, we want to inform him which data was changed.
I have written a general method which takes the context node, grabs its attributes and compares values ... messages are generated via the message manager and context element/attributes are linked so that the input elements become red.
Everything works fine but the only problem is that I do not know which attributes are visible on which view so the user is getting the changes of view 2 on view 1 and vice versa ( if the context is only mapped on 1 view then there is no issue ofcourse ).
The call is currenlty executed at the views inbound plug ... I also checked the view methods themselves like modify view but nothing seems to lead me to a potential solution ...
I have looked through almost all API classes available but I cannot find any way to obtain information about the linking of view elements with context elements/attributes during runtime ... And I don't want to 'hardcode' a list of context attributes per view ....
Has anyone done something similar ?
Thanks,
StevenHi All,
We have a custom WD application ( on ECC 6.0 - SAP Basis 70 ) where we have a context node whose 70 attributes are displayed over 2 seperate views.
When a user enters the view, we want to inform him which data was changed.
I have written a general method which takes the context node, grabs its attributes and compares values ... messages are generated via the message manager and context element/attributes are linked so that the input elements become red.
Everything works fine but the only problem is that I do not know which attributes are visible on which view so the user is getting the changes of view 2 on view 1 and vice versa ( if the context is only mapped on 1 view then there is no issue ofcourse ).
The call is currenlty executed at the views inbound plug ... I also checked the view methods themselves like modify view but nothing seems to lead me to a potential solution ...
I have looked through almost all API classes available but I cannot find any way to obtain information about the linking of view elements with context elements/attributes during runtime ... And I don't want to 'hardcode' a list of context attributes per view ....
Has anyone done something similar ?
Thanks,
Steven -
How to find out the customers who are not performed transaction
Hi Experts,
My all transactions in my cube and my customer records in my master data now i want to find out the customers how didn't perform transaction..
can somebody give me idea...
Thanks
Kiran KumarHi,
possible solution:
- make IObj customer as infoprovider (RSD1)
- Create a multiprovider having your cube (your trans data) and your customer master
- identify cube-customer with iobj-customer
- create a query on thi multi and filter one of the characteristic of your cube, e.g. document number or calendar day, with # (not assigned)
- drilldown the customer.
This will give you all the customers having no fact in your transactional data.
You can also have your query without the filter; in this case, one of your cube key figure will be 0 (or empty) for those customers...
hope this helps
Olivier..
Maybe you are looking for
-
Computer shuts down when I connect my Ipod Touch to it.
Each time I go to connect my Ipod touch to my computer, I get the blue screen of death appear on my computer with a huge error message and then it shuts down, 'To protect itself' I have tried to connect my Ipod Nano and thats fine, works no problems.
-
Opening raw images in PHotoshop CS4 extended
I appologize in advance for this DILETTANTE question. I was happily using Lightroom II until recently when I decided, like an idiot, to buy Adobe Design Suite, which includes Photoshop Cs4 Extended. I am unable to open raw images, I get "could not c
-
Hi, I have configured a Scenario Of PI-Sheet. The Destination Type of Control recipe is(Browser Based Pi sheet) and the Message is cionfigured to come to my SAP mailbox.Now What i want is that the Charecteristics that i have Prepared will not Display
-
Problems with mac photoshop elements no longer working
I believe this problem started with or shortly after installing snow leopard. But I couldn't access my photoshop elements 6 anymore on my mac. I removed PE 6 (dragged to trash), and tried to reinstall it and now have the following error: JavaScript
-
What is virtual limit of Java?
I hadn't actually tested the memory limitations of the jvm before and I was taking the word of others (and I didn't have access to Sun boxes always either.) So I decided to test the limits today. Windows: -NT -1.0 gig memory limit (512 physical, 512