All Downloads are FREE. Search and download functionalities are using the official Maven repository.

decodes.dbeditor.TimeZoneSelector Maven / Gradle / Ivy

Go to download

A collection of software for aggregatting and processing environmental data such as from NOAA GOES satellites.

The newest version!
package decodes.dbeditor;

import javax.swing.JComboBox;
import java.util.TimeZone;
import java.util.Arrays;

import ilex.util.TextUtil;

/**
Combo Box for selecting from the (many) Java Time Zones.
*/
@SuppressWarnings("serial")
public class TimeZoneSelector extends JComboBox
{
	/** List of known java time zone IDs. */
	static String ids[] = TimeZone.getAvailableIDs();

	/** Constructor. */
    public TimeZoneSelector()
	{
        try
		{
            jbInit();

			addItem(""); // no selection is valid.
			Arrays.sort(ids);
			for(int i=0; i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy