Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 72 results for
vaadin
- Page 1
VAADIN Scrollbar
Programming
Web Development
9 Years Ago
by fo2sh
Hello, I am trying to add a scrollbar to my code with no luck to do so, could anybody help in this, thx in advance. Below is my code. @import "../chameleon/styles.css"; /** * "optional-" prefix means that the style is not necessarily used, it can be left blank * "generated-" prefix means that…
NumberFormatException error: how to deal with it
Programming
Software Development
8 Years Ago
by Violet_82
…; import com.
vaadin
.server.Page; import com.
vaadin
.shared.Position; import com.
vaadin
.ui.Button; import com.
vaadin
.ui.Button.ClickEvent…; import com.
vaadin
.ui.CustomComponent; import com.
vaadin
.ui.Notification; import com.
vaadin
.ui.TextField; import com.
vaadin
.ui.VerticalLayout; …
Simplest RPC call maven application, how to
Programming
Web Development
8 Years Ago
by Violet_82
….
vaadin
.annotations.VaadinServletConfiguration; import com.
vaadin
.annotations.Widgetset; import com.
vaadin
.server.Page; import com.
vaadin
.server.VaadinRequest; import com.
vaadin
.server.VaadinServlet; import com.
vaadin
…
Re: Building a java converter
Programming
Software Development
8 Years Ago
by Violet_82
….
vaadin
.annotations.VaadinServletConfiguration; import com.
vaadin
.annotations.Widgetset; import com.
vaadin
.server.VaadinRequest; import com.
vaadin
.server.VaadinServlet; import com.
vaadin
.ui.Button; import com.
vaadin
…
Liferay IPC portlet errors
Programming
Software Development
13 Years Ago
by RykeTech
…]Widgetset does not contain implementation for com.
vaadin
.addon.ipcforliferay.LiferayIPC. Check its @ClientWidget … Widgetset does not contain implementation for com.
vaadin
.addon.ipcforliferay.LiferayIPC. Check its @ClientWidget … add-on instructions. Unrendered UIDL: com.
vaadin
.addon.ipcforliferay.LiferayIPC(NO CLIENT IMPLEMENTATION FOUND)…
How to handle Error Handling
Programming
Software Development
8 Years Ago
by Violet_82
…InputMismatchException; import com.
vaadin
.server.Page; import com.
vaadin
.shared.Position; import com.
vaadin
.ui.Button; import com.
vaadin
.ui.Button.ClickEvent…; import com.
vaadin
.ui.CustomComponent; import com.
vaadin
.ui.Notification; import com.
vaadin
.ui.TextField; import com.
vaadin
.ui.VerticalLayout; …
Re: Building a java converter
Programming
Software Development
8 Years Ago
by stultuske
… things together. Violet, nobody ever said you shouldn't learn
Vaadin
, but you have to use that framework: good, use it… easy to implement, but it should not be implemented in
Vaadin
, but in a business module which can be called by…
Re: Building a java converter
Programming
Software Development
8 Years Ago
by Violet_82
…, but I run into a problem: package com.
vaadin
.project.converterRedone; import com.
vaadin
.ui.CustomComponent; public class ConverterModel extends CustomComponent { private…
Re: Building a java converter
Programming
Software Development
8 Years Ago
by Violet_82
….convertFromBaseValue(baseValue);*/ And the UnitDef.java package com.
vaadin
.project.converterRedone; import com.
vaadin
.ui.CustomComponent; public class UnitDef extends CustomComponent{ public…
Building a java converter
Programming
Software Development
8 Years Ago
by Violet_82
… miles and so on. The framework I will use is
vaadin
(unfortunately) but it will still be java anyway :-). So, I…
Re: Building a java converter
Programming
Software Development
8 Years Ago
by stultuske
I hate to tell you, but if you are planning to use a UI framework (
Vaadin
) to implement business logic, you should first learn basic OO principles.
Re: Building a java converter
Programming
Software Development
8 Years Ago
by Violet_82
… as it's just an exercise). As for tht silly
Vaadin
, I personally hate it, but alas, that's what it…
Re: Building a java converter
Programming
Software Development
8 Years Ago
by Violet_82
that's what I usually do with
vaadin
, meaning I implement the UI in vaddin, like layout (vertical, …
Re: Building a java converter
Programming
Software Development
8 Years Ago
by AssertNull
… this thread because I have no opinion at all on
Vaadin
. Just wanted to report that I've seen the light…
Java Basics - Annotations
Programming
Software Development
2 Years Ago
by dimitrilc
… duties, so Spring can set up the environment correctly. 4. **
Vaadin
framework**: `@Route` is used to configure navigation routes. 5. **Android…
Re: forum like software using java
Programming
Software Development
12 Years Ago
by ~s.o.s~
… are three big/famous ones which come to mind: * [
Vaadin
](https://
vaadin
.com/home) * [Spring MVC](http://static.springsource.org/spring/docs…
Re: Is a four year CS degree necessary to become a Java programmer?
Programming
Software Development
10 Years Ago
by llaspina
… students knew from my class was standard Java. I chose
Vaadin
as the framework for building the web application because it… learn. Students worked in groups to learn and then apply: *
Vaadin
Framework for the UI * MySQL to store the registered tutors…
Re: interfaces and classes exercise
Programming
Software Development
8 Years Ago
by Violet_82
… the changes I've made. 1)moved the application into
vaadin
, as I needed to run it into the browser in…; import java.util.ArrayList; import java.util.List; import com.
vaadin
.ui.TextField; public class EmployeeService { List<Employee> employee…
Re: What you recommend.....
Programming
Software Development
14 Years Ago
by RykeTech
I started with EE using
Vaadin
UI framework, Maven, and Netbeans IDE, love it so far!
Re: Java IDE
Programming
Software Development
13 Years Ago
by RykeTech
I used Notepad/cmd for my one semester of Java in college, but when hired by a company I was introduced to Netbeans/Maven/
Vaadin
/Liferay and I wouldn't have it any other way now. Also a big fan of Notepad++
Re: NumberFormatException error: how to deal with it
Programming
Software Development
8 Years Ago
by JamesCherrill
Yes, you need to catch the NumberFormatException that's thrown when the user input is not numeric. > I would have thought that the InputMismatchException would take care of it No. When in doubt, read the API documentation, eg * public static int parseInt(String s) throws NumberFormatException Parses the string argument as a …
Re: NumberFormatException error: how to deal with it
Programming
Software Development
8 Years Ago
by Violet_82
Ah, thanks, I got the wrong exception!
Re: NumberFormatException error: how to deal with it
Programming
Software Development
8 Years Ago
by JamesCherrill
Yup, that's right! JC
Re: How to handle Error Handling
Programming
Software Development
8 Years Ago
by Olyboy16
the result textfield object instance is used in your try block to display the division result that u calculated there.
Re: How to handle Error Handling
Programming
Software Development
8 Years Ago
by AssertNull
There's more than one way to do this. Figure out what you want validateInputs to do. Right now it's grabbing the Strings from the textboxes, parsing them into integers, doing the division, catching exceptions, and popping up error boxes. Now, do you want it to also fill in the answer box if all the tests pass (i.e. no exception is thrown). If …
Re: How to handle Error Handling
Programming
Software Development
8 Years Ago
by JamesCherrill
> I could get my validateInputs() to return a boolean value of false if an exception has occurred and true if it hasn't, pass that back to the caller and take it from there. Without going into all the details, that sounds like a good idea. In general it's a common practice to set some error flag in a catch block, or (if it's in a method…
Re: How to handle Error Handling
Programming
Software Development
8 Years Ago
by Violet_82
thanks guys. Now, regardless of the way I do it, I still need a mechanism to determine whether the inputs are valid or not, that's where I think I got stuck, sorry maybe I didn't explain the issue correctly. So, for example, where I have the try/catch statement: try{ divisionResult = ( Integer.parseInt(getDividend()) / …
Re: How to handle Error Handling
Programming
Software Development
8 Years Ago
by AssertNull
>I still need a way to say "if the result is valid, then do result.setValue(parseInt(divisionResult));". Wouldn't it be easiest to add the code between lines 2 and 3 above that executes if and only if no exception is thrown? That's the whole point of try-catch blocks. You put code that potentially throws an exception in the try …
Re: How to handle Error Handling
Programming
Software Development
8 Years Ago
by JamesCherrill
In a really trivial case like this there's no harm in putting it all in the try/catch, but moving forwards that's a bad practice because it doesn't scale at all. Keep the logic and the UI details separate.
Re: How to handle Error Handling
Programming
Software Development
8 Years Ago
by Violet_82
I see, thanks. I think i might have had the wrong idea about the try/catch statement, that's why I didn't consider that option AssertNull. > You put code that potentially throws an exception in the try block I took that literally, meaning that I'd put in there only the code that would trrow an exception, in this case `divisionResult = ( …
1
2
3
Next
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC