code
stringlengths
3
1.18M
language
stringclasses
1 value
package com.ch_linghu.fanfoudroid.ui.module; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.widget.AbsListView; import android.widget.ListView; public class MyListView extends ListView implements ListView.OnScrollListener { private int mS...
Java
package com.ch_linghu.fanfoudroid.ui.module; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import android.graphics.Color; import android.text.Layout; import android.text.Spannable; import android.text.Spanned; import android.text.style.Foregrou...
Java
package com.ch_linghu.fanfoudroid.ui.module; import android.content.Context; import android.util.Log; public class FeedbackFactory { private static final String TAG = "FeedbackFactory"; public static enum FeedbackType { DIALOG, PROGRESS, REFRESH }; public static Feedback create(Conte...
Java
package com.ch_linghu.fanfoudroid.ui.module; import java.util.List; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.View; import android.widget.ProgressBar; import android.widget.Toast; import com.ch_linghu.fanfoudroid.R; public class SimpleFeedback implemen...
Java
package com.ch_linghu.fanfoudroid.ui.module; import java.util.ArrayList; import android.app.AlertDialog; import android.app.AlertDialog.Builder; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.graphic...
Java
package com.ch_linghu.fanfoudroid.ui.module; public interface IFlipper { void showNext(); void showPrevious(); }
Java
package com.ch_linghu.fanfoudroid.ui.module; import android.content.Context; import android.view.GestureDetector.SimpleOnGestureListener; import android.view.MotionEvent; public interface Widget { Context getContext(); // TEMP public static interface OnGestureListener { /** * @param e1 ...
Java
package com.ch_linghu.fanfoudroid.ui.module; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.drawable.AnimationDrawable; import android.text.TextPaint; import android.util.Log; import android.view.View; import android.view.animation.Animation; import ...
Java
package com.ch_linghu.fanfoudroid.ui.module; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.content.Intent; import android.util.Log; import android.view.Gravity; import android.widget.ImageView; import android.widget.Toast; import android.widget.ViewSwitcher.ViewFactory...
Java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
Java
package com.ch_linghu.fanfoudroid.ui.module; import android.graphics.Color; import android.text.Editable; import android.text.InputFilter; import android.text.Selection; import android.text.TextWatcher; import android.view.View.OnKeyListener; import android.widget.EditText; import android.widget.TextView; ...
Java
package com.ch_linghu.fanfoudroid.ui.module; public interface Feedback { public boolean isAvailable(); public void start(CharSequence text); public void cancel(CharSequence text); public void success(CharSequence text); public void failed(CharSequence text); public void update(Object arg0); ...
Java
/** * */ package com.ch_linghu.fanfoudroid.ui.module; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.Bitmap; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import...
Java
package com.ch_linghu.fanfoudroid.ui.module; import com.ch_linghu.fanfoudroid.R; import android.app.Activity; import android.util.Log; import android.view.GestureDetector; import android.view.GestureDetector.SimpleOnGestureListener; import android.view.MotionEvent; import android.view.View; import android.view.View.O...
Java
/** * */ package com.ch_linghu.fanfoudroid.ui.module; import java.text.ParseException; import java.util.Date; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import ...
Java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
package com.ch_linghu.fanfoudroid.service; import java.util.List; import android.content.Context; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.util.Log; /** * Location S...
Java
package com.ch_linghu.fanfoudroid.service; public interface IService { void startService(); void stopService(); }
Java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
Java
package com.ch_linghu.fanfoudroid.service; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.List; import android.app.AlarmManager; import android.app.PendingIntent; import android.app....
Java
package com.ch_linghu.fanfoudroid; import java.text.MessageFormat; import java.util.List; import android.content.Intent; import android.os.Bundle; import android.widget.ListView; import com.ch_linghu.fanfoudroid.fanfou.Paging; import com.ch_linghu.fanfoudroid.http.HttpException; import com.ch_linghu.fanfoudroid.ui.b...
Java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.KeyEvent; import android.view.Lay...
Java
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import android.app.SearchManager; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.Menu; import android.widget...
Java
package com.ch_linghu.fanfoudroid.db; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.User; public final class UserInfoTable implements BaseColumns { public static final String TAG = "UserInfoTable"; public static...
Java
package com.ch_linghu.fanfoudroid.db; import java.text.ParseException; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.User; /** * Table - Followers * */ public final class FollowTable implements BaseColumns { ...
Java
package com.ch_linghu.fanfoudroid.db; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.util.DateTimeHelper; /** * Table - Statuses * <br /> <br /> * 为节省流量,故此表不保证本地数据库中所有消息具有前后连贯性, 而只确保最新的MAX_...
Java
package com.ch_linghu.fanfoudroid.db; /** * All information of status table * */ public final class StatusTablesInfo { }
Java
package com.ch_linghu.fanfoudroid.db; import java.io.File; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.List; import java.util.Locale; import android.content.ContentValues; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; imp...
Java
package com.ch_linghu.fanfoudroid.db; import java.text.ParseException; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.Dm; /** * Table - Direct Messages * */ public final class MessageTable implements BaseColumns { publ...
Java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
Java
package com.ch_linghu.fanfoudroid.task; import java.util.Observable; import java.util.Observer; import android.os.AsyncTask; import android.util.Log; import android.widget.Toast; import com.ch_linghu.fanfoudroid.TwitterApplication; import com.ch_linghu.fanfoudroid.ui.module.Feedback; public abstract class GenericTa...
Java
package com.ch_linghu.fanfoudroid.task; import java.util.HashMap; import org.json.JSONException; import com.ch_linghu.fanfoudroid.http.HttpException; /** * 暂未使用,待观察是否今后需要此类 * @author lds * */ public class TaskParams { private HashMap<String, Object> params = null; public TaskParams() { params = new Has...
Java
package com.ch_linghu.fanfoudroid.task; import android.app.ProgressDialog; import android.content.Context; import android.util.Log; import android.widget.Toast; import com.ch_linghu.fanfoudroid.ui.base.WithHeaderActivity; public abstract class TaskFeedback { private static TaskFeedback _instance = null; pub...
Java
package com.ch_linghu.fanfoudroid.task; public enum TaskResult { OK, FAILED, CANCELLED, NOT_FOLLOWED_ERROR, IO_ERROR, AUTH_ERROR }
Java
package com.ch_linghu.fanfoudroid.task; public interface TaskListener { String getName(); void onPreExecute(GenericTask task); void onPostExecute(GenericTask task, TaskResult result); void onProgressUpdate(GenericTask task, Object param); void onCancelled(GenericTask task); }
Java
package com.ch_linghu.fanfoudroid.task; import android.util.Log; import com.ch_linghu.fanfoudroid.TwitterApplication; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.db.StatusTable; import com.ch_linghu.fanfoudroid.http.HttpException; import com.ch_linghu.fanfoudroid.ui.base.BaseActivity...
Java
package com.ch_linghu.fanfoudroid.task; public abstract class TaskAdapter implements TaskListener { public abstract String getName(); public void onPreExecute(GenericTask task) {}; public void onPostExecute(GenericTask task, TaskResult result) {}; public void onProgressUpdate(GenericTask task, Object...
Java
package com.ch_linghu.fanfoudroid.task; import java.util.Observable; import java.util.Observer; import android.util.Log; public class TaskManager extends Observable { private static final String TAG = "TaskManager"; public static final Integer CANCEL_ALL = 1; public void cancelAll() { L...
Java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
package com.ch_linghu.fanfoudroid.data2; import java.util.Date; public class Status { private Date created_at; private String id; private String text; private String source; private boolean truncated; private String in_reply_to_status_id; private String in_reply_to_user_id; privat...
Java
package com.ch_linghu.fanfoudroid.data2; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import java.util.TimeZone; public class DataUtils { static SimpleDateFormat sdf = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy", Locale.US); pub...
Java
package com.ch_linghu.fanfoudroid.data2; import java.util.Date; public class User { private String id; private String name; private String screen_name; private String location; private String desription; private String profile_image_url; private String url; private boolean isProtected;...
Java
package com.ch_linghu.fanfoudroid.data2; public class Photo { private String thumburl; private String imageurl; private String largeurl; public Photo() {} public String getThumburl() { return thumburl; } public void setThumburl(String thumburl) { this.thumburl = thumb...
Java
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.widget.ListView; import android.widget.TextView; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoud...
Java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* * UserObjectWapper.java created on 2010-7-28 上午08:48:35 by bwl (Liu Daoru) */ package com.ch_linghu.fanfoudroid.fanfou; import java.io.Serializable; import java.util.List; /** * 对User对象列表进行的包装,以支持cursor相关信息传递 * @author liudaoru - daoru at sina.com.cn */ public class UserWapper implements Seriali...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
package com.ch_linghu.fanfoudroid.fanfou; /** * An exception class that will be thrown when WeiboAPI calls are failed.<br> * In case the Fanfou server returned HTTP error code, you can get the HTTP status code using getStatusCode() method. */ public class WeiboException extends Exception { private int statusCod...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
Java
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.database.Cursor; import android.os.Bundle; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.db.StatusTable; import com.ch_linghu.fanfoudroid.fanfou.Status; import com.ch_linghu.fanfoudroi...
Java
/* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Java
package com.ch_linghu.fanfoudroid; import com.ch_linghu.fanfoudroid.app.Preferences; import android.app.Activity; import android.content.ComponentName; import android.content.pm.ActivityInfo; import android.content.pm.PackageInfo; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Bundl...
Java
package com.ch_linghu.fanfoudroid; import java.util.HashSet; //import org.acra.ReportingInteractionMode; //import org.acra.annotation.ReportsCrashes; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.net...
Java
package com.ch_linghu.fanfoudroid.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import android.t...
Java
package com.ch_linghu.fanfoudroid.util; import java.io.InputStream; import java.io.OutputStream; public class StreamUtils { public static void CopyStream(InputStream is, OutputStream os) { final int buffer_size=1024; try { byte[] bytes=new byte[buffer_size]; ...
Java
package com.ch_linghu.fanfoudroid.util; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Arrays; import java.util.HashMap; import android.util.Log; import com.ch_linghu.fanfoudroid.TwitterApplication; /** * Debug Timer * * Usage: * -------------------------------- * DebugTimer.s...
Java
package com.ch_linghu.fanfoudroid.util; import java.io.File; import java.io.IOException; import android.os.Environment; /** * 对SD卡文件的管理 * @author ch.linghu * */ public class FileHelper { private static final String TAG = "FileHelper"; private static final String BASE_PATH="fanfoudroid"; public st...
Java
package com.ch_linghu.fanfoudroid.util; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; import android.util.Log; import com.ch_linghu.fanfoudroid.R; import com.ch_linghu.fanfoudroid.TwitterAppl...
Java
/*** Copyright (c) 2008-2009 CommonsWare, LLC Portions (c) 2009 Google, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ap...
Java
/*** Copyright (c) 2008-2009 CommonsWare, LLC Portions (c) 2009 Google, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ap...
Java
package com.hlidskialf.android.hardware; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; public class ShakeListener implements SensorEventListener { private static final int FORCE...
Java
package ImportsAndExports; import java.util.LinkedList; import java.util.Random; public class createRandomAthletesDB { String[] fnames = {"Alexandru","Adi","Andrei","Cosmin","Daniel","Mircea","Bogdan","Florin","Ionut","Marian","Sorin"}; String[] surnames = {"Gaman","Palko","Popescu","Pavel","Ciobanu","...
Java
package Main.ImportsAndExports;
Java
package ImportsAndExports; import java.util.LinkedList; public class createRandomCompetitionDB { LinkedList<String> nume = new LinkedList<String>(); LinkedList<String> locatie = new LinkedList<String>(); LinkedList<String> data = new LinkedList<String>(); LinkedList<String> categ = new LinkedL...
Java
package ImportsAndExports; import java.util.LinkedList; public class generator { public generator() { super(); } public static void main(String args[]){ LinkedList<String> rv = new LinkedList<String>(); String s = ""; for (int j=0;j<256;j++) ...
Java
package ImportsAndExports; import BackendSimulation.Atlet; import BackendSimulation.staticData; import BackendSimulation.Competition; import BackendSimulation.Manager; import java.util.*; import java.io.*; public class dbImporting { static LinkedList<String> details = new LinkedList<String>(); ...
Java
package GUI; import BackendSimulation.AttributesCheck; import BackendSimulation.Data; import BackendSimulation.staticData; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.List; import java.awt.Rectangle; import java.awt.event.Ac...
Java
package GUI; import java.awt.Dimension; import java.awt.Rectangle; import javax.swing.JFrame; import javax.swing.JTabbedPane; public class ManagerPage extends JFrame { public ManagerPage() { try { jbInit(); } catch (Exception e) { e.printStackTrace(); ...
Java
package GUI; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFrame; import javax.swing.JList; import javax.swing.JPanel; import javax.swing.JTabbedPane; import javax.swing.JTextField; public class Data...
Java
package GUI; import BackendSimulation.*; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.JButton; import javax.swing.JFrame; pub...
Java
package GUI; import BackendSimulation.Competition; import BackendSimulation.staticData; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java...
Java
package GUI; import java.awt.Dimension; import BackendSimulation.*; import java.awt.Rectangle; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTabbedPane; import oracle.jdeveloper.layout.VerticalFlowLayout; public class CompetitionDetails extends JFr...
Java
package GUI; import ImportsAndExports.*; import BackendSimulation.*; import java.awt.CheckboxGroup; import java.awt.Choice; import java.awt.Dimension; import java.awt.List; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Random; ...
Java
package GUI;
Java
package GUI; import BackendSimulation.staticData; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.WindowAdapter; import java....
Java
package GUI; import BackendSimulation.Atlet; import BackendSimulation.Manager; import BackendSimulation.staticData; import ImportsAndExports.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.io.File; import java.io.IOException; impo...
Java
package GUI; import BackendSimulation.*; import ImportsAndExports.*; import java.awt.Dimension; import java.awt.PopupMenu; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; i...
Java
package GUI; import ImportsAndExports.*; import BackendSimulation.*; import BackendSimulation.Data; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.Rectangle; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; im...
Java
package GUI; import BackendSimulation.*; import java.awt.Color; import java.awt.Dimension; import java.awt.Label; import java.awt.List; import java.awt.Rectangle; import java.awt.ScrollPane; import java.awt.GridLayout; import java.awt.Scrollbar; import java.awt.TextArea; import java.awt.event.Actio...
Java
package GUI; import java.awt.Dimension; import javax.swing.JFrame; public class CompetitionHistory extends JFrame { public CompetitionHistory() { try { jbInit(); } catch (Exception e) { e.printStackTrace(); } } private void jbInit() throws E...
Java
package GUI; import BackendSimulation.Atlet; import BackendSimulation.Brackets; import BackendSimulation.staticData; import java.awt.Choice; import java.awt.Dimension; import java.awt.Container; import java.awt.Rectangle; import java.awt.event.ComponentAdapter; import java.awt.event.ComponentEvent; impo...
Java
package GUI; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; public...
Java