Use a different paint for different components

Dear all,
I would really appreciate it if you could help me with an AWT problem that I am facing. I want to develop an application in which several images will be printed into the same frame (i.e. a background image, several images containing objects etc.). But I want the images to be "updated" according to the user's prefereneces (e.g. when he/she presses button A, only the image containing the object A should be redrawn, whilst if he/she presses the button B, only the image containing object B should be repainted). Until this moment, I have implemented a class containing a paint method where I include different if cases in order to repaint the corresponding objects on the user's input. I was wondering if there is any other easier way to achieve my ends (e.g. use different paint functions in the same class, making each paint responsible for the drawing of a certain image, and then call the corresponding paint on the user's input). I would really appreciate if you could help me by giving me some advice and/or some sample source code.
Thank you in advance,
Sincerely yours,
Enginejim

Hi NK,
if you use Transparent Data Encryption you can choose between column encryption and tablespace encryption (or a mix)
and the master key for both can only be stored in the same wallet (in 11gR2 we have a unified master key for both).
Also an important concept of TDE is that it is tranparent: application users do not need to know any encryption key (passphrase),
when you are asking that
need to encrypt certain columns and these columns should be accessible to certain users who know a "key phrase" - and not othersthen you are making a common conceptual mistake, which is to confuse encryption with access control, there's actually a good
statement about this in the security guide here: Principle 1: Encryption Does Not Solve Access Control Problems
http://docs.oracle.com/cd/E11882_01/network.112/e16543/data_encryption.htm#i1006159
So if some users should not have access to certain data, please solve this with access controls in combination with VPD,
trying to solve it with encryption is simply ill-advised,
greetings,
Harm ten Napel
Edited by: hnapel on Jan 24, 2013 8:14 AM

Similar Messages

  • HT201371 In the next ios update, could we get the fingerprint function to unlock the phone and open up different apps in one swipe, using different fingers for different apps?

    In the next ios update, could we get the fingerprint function to unlock the phone and open up different apps in one swipe, using different fingers for different apps?

    This is primarily a user-to-user support forum. Following is a link for feedback/suggestions to Apple: http://www.apple.com/feedback/

  • Can we use same number range for different  fields

    can we use same number range for different  fields. how can we see the number range defined for a particular field

    Hai,
    Yes you can have same number range for different fields  by using the same domain to the data elements that are user to your two fields.
    To see the range:
    Go to SE11,Type table Name open it-->double click on the DataElement adjasent to the field name ,You will get Domian ,Double click on Domain You will get Domain.There See Value range option .Value range cam also be defined by Value Table which will also at the Doamin level.
    <b>Reward points if it helps you.</b>
    Regds,
    Rama.Pammi

  • How can i set different font for different tabs/pages

    I want to set different fonts for different tabs/pages?
    is it possible to do the same? If yes how?
    I can change the fonts under tools>options>contents>advanced. but that changes global settings.
    tried some add ons too- but that too changes the global settings.
    some pages like tweetdeck do not display icons etc properly under custom fonts.
    when i check "allow pages to select their own font" tweetdeck shows up fine but a number of other pages show fonts that are too big or some non standard fonts.
    Is there a way where i can select site default fonts for some sites/tabs, and custom fonts for other sites/tabs?
    otherwise i have to open different sites in different browsers- say i use my custom fonts- which apply globally, and open tweetdeck etc in Internet Explorer or Chrome etc. if i can have all tabs in one window/browser, that would be great.

    It's not a built-in feature to override a page's styles on a tab-by-tab or site-by-site basis, but perhaps someone has created an add-on for this?
    It also is possible to create style rules for particular sites and to apply them using either a userContent.css file or the Stylish extension. The Greasemonkey extension allows you to use JavaScript on a site-by-site basis, which provides further opportunity for customization. But these would take time and lots of testing to develop and perfect (and perfection might not be possible)...
    Regarding size, does the zoom feature help solve that part? In case you aren't familiar with the keyboard and mouse shortcuts for quickly changing the zoom level on a page, this article might be useful: [[Font size and zoom - increase the size of web pages]].

  • Tabular form - Different LOV for different rows

    In a tabular form column, is it possible to have a select list whose values depend on some other column in the row? There doesn't appear to be a way to use #COL# notation to refer to current row values in the LOV query definition.
    Ideas? Thanks

    Hi Scott,
    Thanks ..I formed some idea about APEX_UTIL.KEYVAL_NUM. I have a problem where I am not able to decide if I can make use of this package and solve..
    Can you please have a look at this thread.. Re: Tabular form - Different LOV for different rows
    I have a SQL which populates a tabular form on the page.Coulmn1 some text, Column 2 is to show a drop down as YES and NO. i am trying to freeze the option for rows 2,3,4 as NO, if the Option choosen in first is NO.
    So, what I am trying to ask is..can I save my first selection in a global variable and use it in where clause of [select list query] the second drop down..Not sure how I can do this..Appreciate if you can show me a direction.
    Thanks,
    Chaitu.

  • Purchasing info records with different prices for different packaging

    Hi,
    hope, someone can help me.
    We have different prices for different kind of packaging, but all the material is bought in the same unit, i.e. kg.
    Let's say, usually you buy x kg in a drum, but sometimes you buy y (or x) kg in a bottle or in a bag.
    We won't allow variable order units. Even if we would, it's not helpful, because we always order kg.
    So the price depends on a criterion - I don't know, which to take. And we want to maintain the different prices in the info records.
    Is there a solution?

    Hi.
    I went through the history of the problem.It seems that your base unit of measure is KG.Also you have mentined that same material is used in various plants.
    You need to activate the variable ordering unit  2  in material master. This is present in the materila master Purchasing tab.Also note that this data is maintained at plant level. This will not have any impact on the materials which are presnt in the other plants.
    After activating variable order unit in materal master. You need maintains the conversion factors from Order units to Base UOM.(Eg 1 KG = 1 KG, 1BOX = 10 KG etc)
    Create inforecord for the material and maintain price in Base unit of measure.
    In PO enter the order unit as BOX system will automatically calculate the price of BOX based on the conversion factors which are maintained in the material master.
    I belive this is the simple and best solution for your requirement..
    If you have any suggestions please let me know
    Cheers
    Umakanth

  • How to set different header for different Standard report page

    How to set different header for different Standard report page

    Hi,
    A easy answer would be use the 'set report header text.vi' but maybe you are talking about something else ?

  • Making different signals for different color average of the pixcells

    Hello, everyone.
    I'll take image of paper money by webcam,
    and get the color average of the bills
    and fractionate the color average by wavelength range of each bills.
    and I want to making signal releasing time differently for different color average of the pixcells.(to fractionate the kind of bills)
    (I want different signal for different kind of bills) 
    my question is this:
    (1)How can I connect the webcam to the Labview?
    (2)How can I get the color average of paper money?
    (3)How can I make Labview program for releasing different signals which has different releasing time for each color average?

    Hi 박지성,
    you can use the IMAQ for USB Driver. See this link http://zone.ni.com/devzone/cda/epd/p/id/5030. You can also use the integrated windows dll to get your picture.
    Hope it helps.
    Mike

  • Different price for different batches

    hai, is there any possibility of maintaining differenet prices for different batches.
    say for example i put 10 pieces into 1 batch and like that maintain 10 batches.
    for each batch i want to maintain different prices.
    is it possible.
    Thanks in advance

    The link mentioned talks about production / proportion units which deals with different conversions for different batches. For example in leather industry, basic unit may be piece but sales unit may be sq feet. And each piece has different area so proportion unit may be used.
    But as i understand your requirement is just to have different prices for different batches but the units, conversions will remain the same for all batches.
    Maintaining a batch specific price is a standard feature of SD pricing; create an access sequence with field batch (CHARG).
    However one potential danger with this is when the user changes the batch, price will not be updated automatically (unlike when you update plant). To redetermine price automatically whenever batch is changed, you can use the exit below.
    Include: MV45AFZB
    Form: USEREXIT_NEW_PRICING_VBAP CHANGING NEW_PRICING.
    Code:
    if VBAP-CHARG ne *VBAP-CHARG
    new_pricing = 'C'.
    endif

  • Showing different exceptions for different ResultSetTypes??

    For the code below, I am getting different exceptions for different ResultSet types.
    ResultSet rs = stmt.executeQuery("Select * from usermaster");
    rs.absolute(3);
    rs.updateString("emailID", "newID");
    rs.updateRow();
    For ResultSet -> ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY, I am getting following exception
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid attribute/option identifier
         at sun.jdbc.odbc.JdbcOdbcResultSet.setPos(JdbcOdbcResultSet.java:5017)
         at sun.jdbc.odbc.JdbcOdbcResultSet.updateRow(JdbcOdbcResultSet.java:4009)
         at DBConnector.<init>(DBConnector.java:56)
    For ResultSet -> ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE, I am getting following exception
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]String data, right truncation
         at sun.jdbc.odbc.JdbcOdbcResultSet.setPos(JdbcOdbcResultSet.java:5017)
         at sun.jdbc.odbc.JdbcOdbcResultSet.updateRow(JdbcOdbcResultSet.java:4009)
         at DBConnector.<init>(DBConnector.java:56)
    I am using SQL Server 2000, and JDK1.4 beta.
    I am not able to identify what is going wrong here? Please help

    ResultSet.absolute(int) is a JDBC 2.0 function,
    currently most JDBC-ODBC driver only support jdbc
    1.1,
    check your jdbc driver.
    It is so common why there is no compilation error, but
    throw exception in Production.
    RexI have JDBC2.0

  • Different LOV for different rows

    Hi,
    Imagine a tabular report with a number of rows, and a select list for each row populated based on data in that row.
    I've seen a solution for this in a few threads, but I've tried to replicate it in 4.2.1.00.08 with no success
    Select list filter in a tabular form problem
    Tabular form - Different LOV for different rows
    my query includes this as a column
    APEX_UTIL.SAVEKEY_NUM(duration) durationwith another column defined as "Select List (query based on LOV)" using
    select apex_util.keyval_num d,  apex_util.keyval_num r from dualand while the duration varies, the LOV is always stagnant.
    This occurs in both classic & updateable reports (tabular forms).
    I was skeptical that it would work anyway, since I'm sure the query is resolved/bound before rendering each LOV - but that's just assuming background process logic.
    Is the only alternative solutions to use APEX_ITEM.SELECT_LIST_FROM_QUERY() ?
    Scott

    Ahh, I had only tried that on my classic report example. It only seems to have that effect on the tabular form.
    Makes me hesitant to use it with that kind of behaviour.
    When comparing normal tabular form, one set to generic, and another changed back - I saw no differences in the metadata that I would think have some form of impact on rendering behaviour
    APEX_APPLICATION_PAGE_RPT
    APEX_APPLICATION_PAGE_REGIONS -- customization/timeout_cache_after changed, component_signature had trailing 0
    APEX_APPLICATION_PAGE_RPT_COLS -- lost tabular form attributes, region had lost selector column, in fact I'm having trouble bringing it back to a point where it actually saves data.
    Scott

  • Different signatures for different email accounts?

    Is it possible to use different signatures for different email accounts?
    thanks.

    Thank you Michael S. Indeed that solved the problem - but after 2 years of fighting this and a zillion other inefficiencies, I made the switch to Android. Don't get me wrong - I am NOT an Apple hater, but the lack of customization, lack of features, the inability as an example to attach a file to an Email (when replying or composing an Email) which is what 100% (not 99%) of what business people need, or the access to the file system, has made me run away. And now we are hearing all the problems with iOS 6 that are surfacing. WOW. Not having a single issue with Android. Also switched to the Samsung Galaxy S3 on my phone. What a relief. An extra 64 Meg in SD Card, Removable battery that allows me in less than 1 minute to get another 16 hours (awesome when I am travelling), all the gestures, my only regret is that I did not make that switch earlier. Just my opinion. Still love my iTouch though.,

  • Are iPads built with different configurations for different countries?

    Are iPads built with different configurations for different countries?

    deebeeque wrote:
    I live in the U.S. but am moving to Brazil. I would like to purchase an iPad here in the U.S. but want to have it set up for Brazil, ie: language, operation, WiFi. Can all of this be done by selecting the country specific configuration at the setup stage?
    You can certainly chose the language when you set it up. WiFi is an international standard, no difference between US and Brazil. You can further go into Settings - General - International and select language, as well as keyboards and region format.
    Also, Is it possible to order the iPad (to be shipped to me in the U.S.) with packaging material (ie: operation manual, etc.) in the Brazilian Portuguese language?
    There is no operation manual included - English, Portuguese, or any other language. You can find the one you need at http://support.apple.com/pt_BR/manuals/.
    Additionally, does Brazil have 4G?
    I'm not sure, but as of now the only countries where the iPad 4G will work are the US and Canada - other countries that have 4G use different frequencies.

  • Setting different resolutions for different displays?, setting different resolutions for different displays?

    Hi,
    I have a 30" dell display that I have used with my MBP. I recently got a MBA and installed mountain lion.  One of the things they inexplicably removed was the ability in the menu bar to set different resolutions for different displays. The only way I can get my Dell Monitor to work is to use mirroring. But I don't want mirroring. I want two separate displays.  In Snow Leopard, the drop down display menu in the menu bar allowed you to pick different resolutions for different displays. Is there any possible way to do that in Mountain Lion?
    Tom

    Yes, assuming that the 8" display has a resolution that the Mac can support. When you open the Displays system preference, you'll get a settings window on each display (as long as the option for Mirroring isn't checked).
    Regards.

  • Different layout for different layers in a JLayeredPane

    Is it possible to set a different layout for different layers in a JLayeredPane?
    Say, I have a JFrame with two or more JInternalFrame.
    I set a JDesktopPane as the content pane for the frame.
    Is it possible to add the different JInternalFrames to different layers with different layout?? like, BorderLayout for one layer and FlowLayout for another and so on..

    But cant you add differnt components to diffrent layers. and each component can have a layoutmanager.. dont know if you can but maybe..
    David

Maybe you are looking for

  • Problem with N79

    Hello ! First, sorry for my poor english. I have a problem with my N79 phone, i have reinstalled the software with Nokia Software Updater and after restarting the phone and message "Reinstalling done" or something like this I saw that font was not th

  • Multiple duplicates, but erasing deletes the only original file?

    HELP? i keep getting multiple duplicates, if i delete any of the duplicates, the original song is deleted in the itunes folder. so i am left with a whole bunch of duplicates but no original file. searched everywhere but cant find my music . i have no

  • Why does Apple keep breaking the podcast app?

    Why does Apple keep breaking the podcast app?

  • Dreamweaver 2014.1 Build 6947 (Mac) - save problem

    I updated to latest version yesterday and now have a problem when I save files which shouldn't happen on a 2012iMac saving to a thunderbolt drive - and didn't happen before updating. When I save a file i get to watch the (very pretty but boring) spin

  • IPhoto is saying I need to update it in order to open it but I have the latest version?

    iPhoto says to do a software update but the software update is saying that everything is up to date. Is there a way for it to open and not lose any pictures? I stupidly didn't back up the pictures onto a seperate harddrive. My computer is relatively