Technology Network Community
Oracle Database
Fusion Middleware
Development Tools
Server & Storage Systems
Enterprise Management
Berkeley DB Family
Cloud Computing
Big Data
Business Intelligence
Migration and Modernization
E-Business Suite
PeopleSoft Enterprise
JD Edwards World
JD Edwards EnterpriseOne
User Productivity Kit Pro (UPK) and Tutor
Governance, Risk & Compliance (GRC)
Master Data Management (MDM)
Oracle CRM On Demand
On Demand: SaaS and Managed Applications
AutoVue Enterprise Visualization
Agile PLM
Endeca Experience Management
Fusion Applications
Archived Forums



New To Java

Problem with FormattedTextField and if instruction

Hello, i use FormattedTEXTField to collect inputs from users. I want to check if all fields were filled, i try to do this but there is an error when i try to checked simunatiously more than one field when i do this if(nazwa_oddzialu.getText().length()==0)  it works fine but when i try sth like this  if(nazwa_oddzialu.getText().length()==0||ulica_oddzialu.getText().lenght()==0)   i get an error:(It is saying that it can not resolve symbol, method length I don't know what is wrong with this code....

Type more carefully, and read the error message more carefully.

if(nazwa_oddzialu.getText().length()==0||ulica_oddzial u.getText().lenght()==0)   you've misspelled length in the second case. Does this fix your problem?

Related Links

Int to String
Help with array method errors
Static Methods - Usage?
JList ?
need help with while loops
How do I go to any subdirectory in my JDK installation?
Auto refresh..
Swing vs SWT
swt browser problem
Help! How to Add Apache HttpClient to Eclipse
JRadioButton and JButton
I/O problem
TRying to make calculator like applet for project
I am having problems upload a file using IE6 or 7, but it works fine in fir
ClassPath Problem