Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 10-03-2009
Member
 
Join Date: Nov 2008
Posts: 69
Change Color Schemes in Java

hi

Can anyone solve a small doubt of mine in java. I am wrting a program in java for changing color schemes in this programming language so please can anyone help me in this
Reply With Quote
  #2  
Old 10-03-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: Change Color Schemes in Java

import java.util.Map;
import java.util.TreeSet;

public class GetEnv {
/**
* let's test generics
* @param args the command line arguments
*/
public static void main(String[] args) {
// get a map of environment variables
Map<String, String> env = System.getenv();
// build a sorted set out of the keys and iterate
for(String k: new TreeSet<String>(env.keySet())) {
System.out.printf("%s = %s\n", k, env.get(k));
}
}
}
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Change Color Schemes in Java"
Thread Thread Starter Forum Replies Last Post
Is there any option to change the color of friend/foe to help color blinds play Birds of Steel? I M Perfect Video Games 3 18-03-2012 07:33 PM
Color Schemes For Outlook Doloreta Windows Software 3 26-11-2010 05:47 AM
Changing the Color Theme in Java NIcaBoy Software Development 4 14-02-2010 03:23 AM
JAVA Help - Background change by color matching Daren Software Development 4 12-05-2009 08:41 AM
Java Color Choosers Ebadaah Software Development 2 11-05-2009 09:11 AM


All times are GMT +5.5. The time now is 06:51 AM.