🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #153618

Szablony w javie (eclipse) - blad

#153618
From: Piotr
Date: Thu, 18 Oct 2012 02:16
33 lines
1425 bytes
Witam!

Męczę się już parę godzin z błędem. :( Jestem zielony, więc proszę 
bardzo o pomoc.

Mam w klasie:

private DefaultListModel<String> listModel;


i dostaję błąd:

The type DefaultListModel is not generic; it cannot be parameterized 
with arguments <String>


Nie mam pojęcia jak go rozwiązac....

W Window->Preferences->Compliler-> Compiler Compliance level === 1.6


Dla projektu: Properties-> Java Build Path: JRE System Library [JavaSE-1.6]


To tak co wygooglowałem, ale wszystko się zgadza...


Błagam o pomoc. :(



Pozdrawiam
Piotr
Technical Details
Message-ID: <507f6674$0$1318$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!wsisiz.edu.pl!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!wsisiz.edu.pl!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Date: Thu, 18 Oct 2012 04:16:23 +0200
From: Piotr <brak@brak.pl>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
Newsgroups: pl.comp.lang.java
Subject: Szablony w javie (eclipse) - blad
Lines: 33
Message-ID: <507f6674$0$1318$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 89-70-183-105.dynamic.chello.pl
X-Trace: 1350526580 unt-rea-a-02.news.neostrada.pl 1318 89.70.183.105:3147
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit