This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.vaadin.flow.component.AttachEvent; | |
import com.vaadin.flow.component.Component; | |
import com.vaadin.flow.component.dnd.*; | |
import com.vaadin.flow.component.grid.Grid; | |
import com.vaadin.flow.component.html.Div; | |
import com.vaadin.flow.component.orderedlayout.VerticalLayout; | |
import com.vaadin.flow.router.Route; | |
import java.time.LocalDate; | |
import java.util.ArrayList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.vaadin.example; | |
import com.vaadin.flow.component.HasValue; | |
import com.vaadin.flow.data.binder.Binder; | |
import com.vaadin.flow.data.binder.BinderValidationStatus; | |
import com.vaadin.flow.data.binder.Validator; | |
import java.util.ArrayList; | |
import java.util.List; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.vaadin.example; | |
import com.vaadin.flow.component.Component; | |
import com.vaadin.flow.component.combobox.ComboBox; | |
import com.vaadin.flow.component.html.Div; | |
import com.vaadin.flow.component.spreadsheet.Spreadsheet; | |
import com.vaadin.flow.component.spreadsheet.SpreadsheetComponentFactory; | |
import com.vaadin.flow.router.Route; | |
import org.apache.poi.ss.usermodel.Cell; | |
import org.apache.poi.ss.usermodel.Sheet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.vaadin.example; | |
import com.vaadin.flow.component.charts.Chart; | |
import com.vaadin.flow.component.charts.model.*; | |
import com.vaadin.flow.component.orderedlayout.VerticalLayout; | |
import com.vaadin.flow.router.Route; | |
@Route("scatter") | |
public class Scatter extends VerticalLayout { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.application.views; | |
import com.vaadin.flow.component.grid.Grid; | |
import com.vaadin.flow.component.html.Div; | |
import com.vaadin.flow.component.orderedlayout.HorizontalLayout; | |
import com.vaadin.flow.router.Route; | |
import java.util.ArrayList; | |
import java.util.List; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.vaadin.example; | |
import com.vaadin.flow.component.charts.Chart; | |
import com.vaadin.flow.component.charts.model.*; | |
import com.vaadin.flow.component.orderedlayout.VerticalLayout; | |
import com.vaadin.flow.router.PageTitle; | |
import com.vaadin.flow.router.Route; | |
@PageTitle("About") | |
@Route(value = "about") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.io.IOException; | |
public class parse { | |
public static void main(String[] args) { | |
String filePath = "/Users/johannestuikkala/Desktop/test.txt"; | |
try (BufferedReader br = new BufferedReader(new FileReader(filePath))) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-0.0022813694,-0.0059132823,0.016599162,-0.017573992,-0.00927441,0.024086386,-0.034633487,-0.025995426,0.0020935119,-0.003933162,0.016152365,-0.001731336,0.020038141,0.006068984,-7.945867E-4,0.0033949756,0.0025775412,0.0034931353,-0.0139996195,-0.034741804,-0.021811787,-4.0956333E-4,-0.0072299778,-0.011670863,-0.024127005,0.011901031,0.02439779,-0.006410851,0.01684287,-0.0061772983,0.02648284,0.021094205,0.0021104359,-0.018074945,-0.0066511733,-0.0142297875,0.0044171913,-0.0066545582,-0.015028605,0.016125288,0.0146901235,-0.011961957,-0.019225784,0.0054597165,0.005046768,0.00851621,-0.005903128,-0.013410661,-0.018467583,0.017425058,0.01059449,0.0018074944,-0.042296723,0.029434403,0.023707287,-0.024722733,0.007967869,0.01493383,0.0032629676,-0.019916287,-0.0025758487,0.0049824566,0.0024252243,-0.0029126385,-0.015543099,0.0017821083,0.004329186,-0.001777031,-0.010052918,0.0018108792,0.027687836,0.032440126,-0.028838675,-0.001030678,0.021744091,-0.006735794,-0.01267277,-0.0071419724,-0.0053581716,0.009660279,-0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vaadin.training.framework.exercises.ex9; | |
import com.vaadin.data.util.IndexedContainer; | |
import com.vaadin.navigator.View; | |
import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent; | |
import com.vaadin.ui.ComboBox; | |
import com.vaadin.ui.GridLayout; | |
import com.vaadin.ui.Label; | |
import com.vaadin.ui.TextField; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vaadin.training.framework.exercises.ex8; | |
import java.util.Calendar; | |
import java.util.Date; | |
import com.vaadin.data.Container; | |
import com.vaadin.data.Container.Filter; | |
import com.vaadin.data.Container.Indexed; | |
import com.vaadin.data.Item; | |
import com.vaadin.data.util.filter.And; |
NewerOlder