Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Explain System Colors in java 1.1?
In Java 1.1, the java.awt.SystemColor class is a subclass of java.awt.Color that gives color constants in which match native component colors. For instance, if you needed to make the background color of your applet, the similar as the background color of a window, you may use this init() method:
public void paint (Graphics g) {
g.setColor(SystemColor.control); g.fillRect(0, 0, this.getSize().width, this.getSize().height); }
These are the available system colors:
• SystemColor.desktop // Background color of desktop • SystemColor.activeCaption // Background color for captions • SystemColor.activeCaptionText // Text color for captions • SystemColor.activeCaptionBorder // Border color for caption text • SystemColor.inactiveCaption // Background color for inactive captions • SystemColor.inactiveCaptionText // Text color for inactive captions • SystemColor.inactiveCaptionBorder // Border color for inactive captions • SystemColor.window // Background for windows • SystemColor.windowBorder // Color of window border frame • SystemColor.windowText // Text color inside windows • SystemColor.menu // Background for menus • SystemColor.menuText // Text color for menus • SystemColor.text // background color for text • SystemColor.textText // text color for text • SystemColor.textHighlight // background color for highlighted text • SystemColor.textHighlightText // text color for highlighted text • SystemColor.control // Background color for controls • SystemColor.controlText // Text color for controls • SystemColor.controlLtHighlight // Light highlight color for controls • SystemColor.controlHighlight // Highlight color for controls • SystemColor.controlShadow // Shadow color for controls • SystemColor.controlDkShadow // Dark shadow color for controls • SystemColor.inactiveControlText // Text color for inactive controls • SystemColor.scrollbar // Background color for scrollbars • SystemColor.info // Background color for spot-help text • SystemColor.infoText // Text color for spot-help text
What is the use of throws keyword ? Rather than explicitly catching an exception you can declare in which your method throws the exception. This passes the repsonsibility to h
JMS is the ideal high-performance messaging stage for intra business messaging, with full programmatic control over quality of service and delivery options. JavaMail gives lowes
Ask1. Storing the Array: Write an application that uses an Array to store 10messages of type String. You will store this Array with 10 messages of your choosing. For example, a mes
Question 1 What is Response Redirection? Explain in brief Question 2 What is JDBC? Explain Question 3 Write a short note on Expressions Question 4 What is an XML na
Assistance for JSON authentication problem RSS/AOL/Android The key problem we face is how to authenticate afterward the user logged in the webview as well as then parse the JSON
Determine about the runtime Security Manager Java also has a runtime Security Manager can check which operations a specific piece of code is allowed to do. Consequently, java c
I need a DCS (Source code and JAR) to process packets from a cheap chinese GPS TK110, the unit is already communicating with the server but is not parsing. So I need someone with e
Add WordPress color picker to plug-in text field Project Description: I have a simple plug-in that needs the built-in Word Press color picker added to one of the text input f
A Java package is a naming context for classes and interfaces. A package is used to make a separate name space for groups of classes and interfaces. Packages are also used to arran
write a program to find the minimum no of colors to fill a board where some of the elements of different color are already placed.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd