How can I set background for JTextArea

plz help me!

textArea.setBackground(Color.black);What's the problem? If you need an image, you could try layering the JTextArea over a JLabel, and have the background of the JTextArea transparent. It might work.

Similar Messages

  • How can i set dynamice for week on Selection screen..pls help me..Urgent

    Hi..All
    please Help me .. i am very  confused..
    i need to set a varient for week which is dynamic on selection screen.
    b) Week from current week to current week + 2. (<b>Dynamic selection)</b>how can i set dynamice for week on Selection screen,,
    how can i do this..i am alrady set dynamice variant for Date.. there is option for D.. but in case of week there is a no option.
    pls help me..urgent
    thamks in advance.
    mayukh

    Hi,
    I think the way out is use the dynamic select option while setting up the varinat and use sy-datum to sy-datum+9 which should essentially serve the purpose.
    While saving the variant, for that particular date field check the Selection variable checkbox, then Choose D
    option and then choose current days + or - option from there.
    Rgds,
    HR

  • How can i set password for a backup?

    ::I am using 10g xe
    I am gettin gbackup through RMAN, how can i set password for each backup? I want to protect my backup so that no one other could use it if he copies the backup files.
    Faheem

    Just use "SET ENCRYPTION ON IDENTIFIED BY password ONLY" command in your RMAN scripts. Look at the advanced backup manual for details: http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmbackp006.htm#sthref632
    Daniel

  • How can i set background color of child window in jdk 1.6

    Hi friends i hv devoloped simple java app using javax.swing.JFrame in which on click button event i open new child window using JFrame to draw some image.
    i set childs background color as setBackground(Color.lightGray);
    but the problem is,child window takse its background color same as its parent window.(i.e. main window's color or desktop ).i get this problem in jdk 1.6.but it is working fine in jdk 1.5.
    how can i set background color of child window in jdk 1.6 .
    plz solve my problem.
    thanks in advanced.

    Mo,
    Call me old fassioned, but I simply refuse to demangle SMS speak.
    You've got a whole keyboard, so learn how to use it.
    Keith.

  • HT1338 How can i set password for my folder?

    How can i set a password for my folder?

    Mac OS X does not natively include a method for passwording only selected folders. You can either get a third-party utility such as Knox (from AgileBits) or you can create an encrypted disk image (using Disk Utilty) and keep the files you wish protected in that disk image.
    Regards.

  • How can I set DPI for a document in illustrator?

    I'm designing a user interface for iPad (Resolution: 1024x768, DPI:132). Setting the resolution is a piece of cake but when I change the ruler unit to Centimeters, it shows the screen about 36x27cm which is not right (iPad screen is 24.3x19cm).
    Illustrator calculates these lengths based on the DPI. But when creating a new document the only available DPI's are: 72, 150, 300 (File > New > Raster Effect). I searched for the answer on this forum and googled it and looked into the help but couldn't find a satisfying answer. I know that Illustrator is a vector design program but there must be a way to set the DPI to an arbitrary value.
    How can I have a 1024x768px artboard in Illustrator that is 24.3x19cm? (DPI=132)

    Alex,
    only when I'm printing or saving the image for the web, Illustrator will ask me the actual width.
    Almost. Illustrator won't "ask you for the width." As with any program, when you export a vector graphic to a raster image, you have the opportunity to specify its resolution, in number of pixels.  Illustrator tries to "simplify" (and thereby often confuses) this process by providing different interfaces for the same thing. The so-called "Save For Web" interface is just another way to export a raster image (and other web-centric things, like slicing). The settings available (or at least the ones most prominate) differ between the straightforward Export dialog and the Save For Web dialog.
    My question is: how illustrator calculates these measures?
    Again: When Illustrator's rulers are set to "Pixels," they are really set to points. A point measures 1/72 inch. So Illustrator assumes a "pixel" is scaled to measure 1/72 inch, even though it may not be in a particular raster image object you have on the page.
    But when you export as a raster image (in other words, rasterize the artwork), you don't care what those pixels are scaled to due to the actual, physical, hardware dimensions of the device's monitor pixels (so-many centimeters by so-many centimeters). Regardless of whether the device's hardware pixels are gigantic or microscopic, you just care how many of them there are. So long as you export your finished artwork rasterized to that number of pixels, it will effectively be scaled (in terms of actual measure) by whatever device it is displayed on, becasue the device is going to "turn on" a monitor pixel for each pixel in your image.
    In other words, when designing purely for electronic displays (as opposed to printing), forget all about PPI, or DPI, which are nothing but scale factors, and forget about the actual measure (centimeters x centimeters, inches by inches) of the monitor.
    If I display your 1024 x 768 image in a web browser on my 15-inch-diagonal Toshiba laptop, your image is going to occupy 1024 x 768 of my monitor's pixels.
    If I display your 1024 x 768 image in a web browser on my 10-inch-diagonal Acer netbook, your image is going to occupy 1024 x 768 of my monitor's pixels, and it will display at a smaller actual size than it does on my Toshiba, because the Acer's monitor pixels are smaller than the Toshiba's monitor pixels.
    But even though the image's actual measure is smaller on the Acer, and even though your image occupies the exact same number of monitor pixels on both the Acer and the Toshiba, I will have to do some scrolling on the Acer because its monitor has fewer hardware pixels.
    So if I'm designing images to fit neatly on my Acer without the need for scrolling, I care about its screen size in terms of number of hardware pixels, not in terms of actual measure (centimeters or inches).
    I want to be able to set the lines and curves in terms of pixels.
    Because Illustrator considers a pixel to be a particular measure (1/72 inch), work with your rulers set to either the bogus PIxels or to Points (which, in Illustrator, is the same thing). Forget about the dimensions of a device screen. It doesn't matter.
    If you want to also spec type in terms of "pixels" you can also (pointlessly) set your General Prefs to use the bogus Pixles as the "Unit Of Measure". But this is pointless because in Illustrator, a so-called "Pixel" is, in fact a point already, and Points is the default UOM for type. Either way, you have to realize that any measure for type (using "Pixels" or Points) is a measure of the font's em-square, not the measure of the actual glyphs. So setting your type to "9 Pixels" doesn't mean the type characters are going to occupy 9 pixels in height.
    But you can proceed to specify line weights, box sizes, etc., etc, in terms of ruler units (bogus pixels or legitimate points).
    Alternatively, if you want, you can set your rulers to Centimeters. And then as you draw your boxes and set your stroke weights, you can specify them in terms of Points or "Pixels" by just typing "pts" or "px" after the measures you key into the various dimension fields.
    But after all this is said and done, the point you're missing is still this: All that means nothing if you don't export the resulting images to the number of pixels that you want them to occupy on the device you are designing for. In other words, you can work with your Illustrator rulers set to "Pixels" all day long; but if you then export the artwork to a raster format using a Pixels-Per-Inch setting other than 72, It won't be the right size, because Illustrator still thinks a Pixel measures one point.
    So regardless of how you have your rulers set while working, it is just simpler (and more legitimately meaningful) to export your raster images in terms of number of pixels (N pixels x n pixels), not by PPI. That brings us full-circle right back to where your question started: There is no document-wide PPI for an Illustrator file.
    But what you have to understand is this: If your design includes already-rasterized objects, the number of actual pixels included in each of those raster objects is entirely independent of whatever Illustrator's rulers say they "measure" in "Pixels". That is very important. Because if you use as part of your design a raster image that is scaled to anything other than 72 ppi, and/or that image does not align to a point-size increment of Illustrator's grid, then when you export your final product, that image is going to be re-rasterized to whatever PPI you export, based on its on-page position and the quality of that image is going to be compromized. That's why it's important to understand that "Pixels" is bogus as a unit of measure in a program like Illustrator.
    In pursuit of web- and device-centric creative markets, Adobe continues to add confusion-generating "conveniences" to Illustrator. For example, to workaround Illustrator's problematic antialiasing, version CS5 added a feature called Align To Pixel Grd which causes vertical and horizontal strokes to align to whole-"pixel" increments, to avoid antialiasing of those edges.
    There are also probably templates in your AI installation (depending on version) already set up for mobile devices, and there's the whole "Device Central" online thing, if you're inclined to use that kind of thing. So look up and read about those features.
    JET

  • How can i set password for my n8?

    I'm sure it's easy but i didn't know how....can you also tell me how can set my picture to be save on the Mass storage .....
    Thank you
    Solved!
    Go to Solution.

     The default saving location is the Mass storage of the phone, however as Aspergerguy said if you have a micro sd card installed you can choose that as default saving location.
     There is a downloadable app called MazeLock where you need to draw a pattern on the screen to unlock the phone. If you like that sort of thing you can download it from HERE.
     I did use it for a bit, but found it annoying to unlock the phone every time I wanted to use it.
    Cheers.
    Ray

  • I have created a newsletter in indesign cs4 how can I set zooms for each article for the user

    I have created a e-newsletter in Indesign. I have successfuly saved it as a SWF then as a PDF from acrobat.
    The problem is that when the user zooms in the resolution is not good.
    How can I let the user zoom in to read each article. Would I create buttons with zoom settings for each article. If this is the case do I do it in Indesign or Flash and can I still save it as a PDF file and it will keep the interactivity?
    I would greatly appreciate any help with this issue. It is driving me mad trying to get the information I need.
    Thank you

    Hi Bob
    Dont know what you mean by deleting my signature in the forum. Sorry its my
    first time using a forum.
    So just to confirm if I want a user to zoom in on an article I can't do it
    in Indesign or Flash.
    cheers
    PAMELA
                                                                                    BobLevine                                                    
                 <[email protected]                                            
                 >                                                          To
                                           pamela hettrick                    
                 17/08/2010 14:09          <[email protected]>  
                                                                            cc                                                                               
    Please respond to                                     Subject
                 clearspace-143433         I have created a        
                 1873-767197-2-305         newsletter in indesign cs4 how can 
                 [email protected].         I set zooms for each article for   
                     adobe.com             the user                                                                               
    You don't. There are third party solutions available for that. Sorry but I
    don't have any links handy right now.
    And please delete your signature...it's making a mess of the forum display
    of your posts.
    Bob

  • How can I set destination for archived logs?

    I would like to know:
    how to set destination for archived logs?
    how to identify the init.ora that is used for my database?
    With rman using compressed backupset by default and and making
    backup database;
    What does it backup exactly?

    Another thing I am wondering, when I make a backup with rman : backup database.
    It saves the backups in the directory autobackup from the flash_recovery_area but it seems that it only saves the data files and the control files.Isn't there a way to sava archived logs files, control files, datafiles in a single backup?
    In fact I would like to make a full backup using rman on sunday of everything and a incremental backup all days of the week how can I acomplish this with a retention of 7 days?

  • How can i set resolution for monitor

    The maximum resolution for my monitor is not shown in the preferences.
    How can I make my macBook Pro use the display in the highest resolution.

    What model MacBook Pro and what video format? Are you talking about the internal display or an external display? 1600 x 1200 is the old style 4:3 NTSC video format and 1920 x 1200 is today's widescreen 16:10 format. They're two different animals. The native resolution and what your notebook or external display can handle or adapt to are not necessarily the same thing.

  • How can i set image for any item in windows

    i want to make button iconic in windows how can i do that in oracle 9i forms

    First be aware that in forms .ico cannot be used for icons,
    by default it is gif
    so if you have an small gif file for your button you can alter the button properties in the property palette so that the button should be iconic (=> put to yes) and in the next filed iconname +put the name of the gif file without the extensoin (case sensitive)
    Put this gif file in the icons/ path directory and your button will display the icon.
    if you want more to know on the virtual path icons/ search this or the reports forum for virtual-path . you'll find plenty about it.
    Hope it helps
    erwin

  • How can I set hamachi for my work condition

    My friend and I working in different place.  My friend has some intranet work that I suppose to working with from the outside so I decided to use Hamachi Gateway network type: MyFriend :IP : 172.21.40.41Subnet : 255.255.255.0Gateway : 172.21.40.254 After setting my network parameters isIP: 172.21.40.43Subnet : 255.255.255.0 everything looks great but I need to use 172.21.40.254 as my default gateway instead of mine (10.0.0.1) . I can ping all of my friend's co-worker 's computers  and can ping gateway(172.21.40.254) too. But everytime I trace some intranet my packet goes to 10.0.0.1  thanks for reading and sorry for my bad english

    Settings > Phone > Show My Caller ID > OFF (if your network supports it)
    Bear in mind that a lot of people won't take anonymous calls.

  • How can I set password for email access to prevent other from reading my mails?

    If i go to settings and erase my password that wont work. What can I do?

    Either access it via web mail only where you'll have to enter user name and password every time, or put the passcode lock on your ipad itself, locking down the whole device

  • How can I set value for vc application's form

    there is a running vc application,and the vc application has form.the form's parameters can input from keyboard.but I want use java application to realize the function that input parameter instead of mannual input.
    can you give me some advices,thank you very much.

    This may help:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=236676

  • How can I set up for contacts on my iPhone to replace contacts on my address book?

    I have tried several ways.  I read some suggestions about leaving only 1 contact in the address book and then syncing but it automatically deletes all my iPhones contacts and replaces it with only that one in the address book.  What I want is for my Address Book contacts to be updated or replaced (by default) with those contacts on my iPhone.  Please help.  I am always adding new contacts to my iphone and changing peoples information and every time I sync it, it erases any changes to my iPhone and updates based on the address book.  I want it to go the other way.

    Are you using Windows or Mac OS?

Maybe you are looking for

  • Why does iTunes never wanna update in win 7 64 bit?

    Hi Everytime I try to update iTunes since last 1½ year I allways end up having to uninstall everything from Apple - download pacakages from internet - reboot (often two-three times) and then reinstall the whole iTunes package once again. Everytime it

  • Blob in forms 9i

    Hi Friends, I want to know that how can we (handle) save images in database in blob data format using forms 9i. Is it jsut like as we do in forms 6i or there is difference ? Raza Ullah Khan

  • IOS7 - lock screen in portrait.

    How can one lock the screen in portrait and then unlock it later.  Was dead simple before iOS7!

  • ITUNES IS THE WORST PLAYER OUT THERE

    Im a long time ipod user but i recently got a new mp3 player that has better functions and features than the apple ipod nano.The packaging said that this player was compatible with itunes. so i just thought i would converter allthe music i bought to

  • Tomcat Startup problems using eclipse

    Hello together! I want to create a JSP page in eclipse. I use eclipse-wtp-1.0 and tomcat 5.5.12. I have set the JAVA_HOME, TOMCAT_HOME and CATALINA HOME. I included this 2 directories in eclipse. But now I get the following error: 23.02.2006 08:37:31