County judges are state court judges. Each state has it's own system for appointing and electing judges. So, it depends on the level of court and the state.
In most jurisdictions in the U.S., county judges are elected, not appointed, but the procedures may vary from place to place.
Illinois judges are elected.
Federal judges are not elected. Several states and municipalities elect their judges,
Some states have elected judges. It depends on the state. Federal judges are all appointed.
In the U.S., it varies by state. Federal judges are not elected; they are appointed.
This is the judicial branch: federal courts and the US Supreme Court. Unlike local, county, and state judges, federal judges are not elected. They are either appointed by the President and confirmed by the US Senate (e.g. district judges, appeals judges) or appointed through a vote by district judges (e.g. magistrate judges).
Local judges are generally elected, but federal judges are appointed.
Judges in Illinois are elected.
Usually, elected judges are chosen by the general electorate at election times when their names appear on the ballot. In some states, "elected judges" are actually 'elected' by majority votes of the state legislature.
Judges in Canada are appointed and not elected.
In NC judges are elected, not appointed.
Federal judges serve for life and are not elected or re-elected. Judges who are elected usually run under some party affiliation.