code
stringlengths
3
1.18M
language
stringclasses
1 value
/* * Copyright (c) 2012 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 agreed to in ...
Java
/* * Copyright (c) 2013 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 agreed to in ...
Java
/* * Copyright (c) 2013 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 agreed to in ...
Java
/* * Copyright (c) 2013 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 agreed to in ...
Java
/* * Copyright (c) 2013 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 agreed to in ...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Project: asqare * Copyright (C) 2008-2012 rdrr.labs@gmail.com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
Java
/* * Copyright 2013 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 agreed to in...
Java
/* * Copyright 2013 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 agreed to in...
Java
/* * Copyright (C) 2013 The Android Open Source Project * * 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 app...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in...
Java
/* * Copyright 2012 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 agreed to in...
Java
/* * Copyright 2012 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 agreed to in...
Java
/* * Copyright 2012 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 agreed to in...
Java
/* * Copyright 2012 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 agreed to in...
Java
/** Automatically generated file. DO NOT MODIFY */ package com.google.android.gcm; public final class BuildConfig { public final static boolean DEBUG = true; }
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in...
Java
/* * Copyright 2012 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 agreed to in...
Java
/* * Copyright 2012 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 agreed to in...
Java
/* * Copyright 2012 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 agreed to in...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
/* * Copyright 2012 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 agreed to in w...
Java
import java.io.Serializable; import java.util.LinkedList; import javax.swing.JOptionPane; /*** * SeriesEntry - Contains data on an individual series entry. The known list of these is stored * in the SeriesList. * * Copyright (C) 2011 Chris Workman * * This program is free software: you can redistr...
Java
import java.io.Serializable; import java.util.LinkedList; /*** * EpisodeList - Maintains a list of episodes for a given series. * This class is serializable to be easily cached. * * Copyright (C) 2011 Chris Workman * * This program is free software: you can redistribute it and/or modify * it und...
Java
/*** * MainWindow - This class manages the main window for the AniDB application. * * Copyright (C) 2011 Chris Workman * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either...
Java
import java.util.LinkedList; /*** * AnimeTitle - Class to store data on an individual Anime Title from the animetitles.xml file * This is various listings of titles, the official title and the AID to make * it easier to determine the correct title to look up from the AniDB API * * Copyright (C) 2011 Chri...
Java
import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.SocketException; import java.net.UnknownHostException; /*** * CommMgr - Manager for communications between client and AniDB server. * Since communications are in UDP form ...
Java
import java.io.Serializable; import java.util.LinkedList; /*** * SeriesList - Used for storing and managing a list of known series information. * This list will be serializable to be stored in a data cache file to save time doing lookups * when adding new episodes, files or if it is necessary to rebuild the N...
Java
/*** * AniPacket - Simple packet structure for managing data received from the * AniDB API server. This can allow for better processing of * the data and error feedback. * * Copyright (C) 2011 Chris Workman * * This program is free software: you can redistribute it and/or modify * it under the term...
Java
import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL...
Java
import java.io.EOFException; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; /*** * ConfigMgr - This class contains configuration param...
Java
import java.io.Serializable; /*** * EpisodeEntry - Used to store data on individual episodes within a series. * This class is serializable for easy cacheing. * * Copyright (C) 2011 Chris Workman * * This program is free software: you can redistribute it and/or modify * it under the terms of the G...
Java
/*** * FileDetails - Class containing details on loaded files such as parsed anime title and episode number * * Copyright (C) 2011 Chris Workman * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free S...
Java
/*** * AniNFO * This program will be written to accept multiple file selection, parse series title * and episode number information from the file names and create NFO files for the series * and/or each episode from the AniDB.net daily dump file. It will also be able to download * and read the data from the d...
Java
import java.util.LinkedList; /*** * AnimeTitles - This class stores the list of Anime Titles from the animetitles.xml file * It contains methods for easy searching of a title to obtain possible matches * and their AID numbers. * * Copyright (C) 2011 Chris Workman * * This program is free software: y...
Java
package net.srcz.android.screencast; import java.io.IOException; import net.srcz.android.screencast.api.injector.Injector; import net.srcz.android.screencast.app.SwingApplication; import net.srcz.android.screencast.ui.JDialogDeviceList; import net.srcz.android.screencast.ui.JFrameMain; import net.srcz.android...
Java
package net.srcz.android.screencast.app; import java.io.PrintWriter; import java.io.StringWriter; import javax.swing.SwingUtilities; import javax.swing.UIManager; import net.srcz.android.screencast.ui.JDialogError; public class SwingApplication extends Application { JDialogError jd = null; public SwingApplicati...
Java
package net.srcz.android.screencast.app; import java.lang.Thread.UncaughtExceptionHandler; public class Application { public Application() { Runtime.getRuntime().addShutdownHook(new Thread() { public void run() { close(); } }); Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler()...
Java
package net.srcz.android.screencast.ui; import java.awt.BorderLayout; import javax.swing.BorderFactory; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JWindow; public class JSplashScreen extends JWindow { JLabel label = new JLabel("Loading...", new ImageIcon(JFrameMain.cl...
Java
package net.srcz.android.screencast.ui; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.KeyEventDispatcher; import java.awt.KeyboardFocusManager; import java.awt.Point; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.e...
Java
package net.srcz.android.screencast.ui.pm; public class JFrameApps { }
Java
package net.srcz.android.screencast.ui; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Image; import java.awt.Point; import javax.swing.JPanel; public class JPanelScreen extends JPanel { public float coef = 1; double origX; double origY; boolean landscape; Dimension size...
Java
package net.srcz.android.screencast.ui; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.BorderFactory; import javax.swi...
Java
package net.srcz.android.screencast.ui.explorer; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.util.Iterator; import java.util.Vector; import java.util.concurrent.ExecutionException; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.JTree; import javax.s...
Java
package net.srcz.android.screencast.ui.explorer; import java.awt.BorderLayout; import java.awt.Desktop; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.File; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Vector; import javax.swing.JF...
Java
package net.srcz.android.screencast.ui.explorer; import javax.swing.tree.DefaultMutableTreeNode; public abstract class LazyMutableTreeNode extends DefaultMutableTreeNode { protected boolean _loaded = false; public LazyMutableTreeNode() { super(); } public LazyMutableTreeNode(Object userObject) { super(user...
Java
package net.srcz.android.screencast.ui; import java.awt.Dimension; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Rectangle; import java.util.StringTokenizer; import javax.swing.Icon; import javax.swing.JComponent; import javax.swing.JLabel; import javax.swing.SwingConstants; impor...
Java
package net.srcz.android.screencast.ui; import java.awt.BorderLayout; import java.io.PrintWriter; import java.io.StringWriter; import javax.swing.JDialog; import javax.swing.JTextArea; public class JDialogError extends JDialog { public JDialogError(Throwable ex) { getRootPane().setLayout(new BorderLa...
Java
package net.srcz.android.screencast.ui.worker; /* * $Id: AccumulativeRunnable.java,v 1.3 2008/07/25 19:32:29 idk Exp $ * * Copyright � 2005 Sun Microsystems, Inc. All rights * reserved. Use is subject to license terms. */ import java.util.*; import javax.swing.SwingUtilities; /** * An abstract cla...
Java
/* * $Id: SwingWorker.java,v 1.6 2008/07/25 19:32:29 idk Exp $ * * Copyright � 2005 Sun Microsystems, Inc. All rights * reserved. Use is subject to license terms. */ package net.srcz.android.screencast.ui.worker; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; impo...
Java
package net.srcz.android.screencast.ui; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JTextField; public class JDialogUrl extends JDialog { JTextField jtfUrl = new JTextField(); JBut...
Java
package net.srcz.android.screencast.api; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; public class StreamUtils { public static void transfert(InputStream is, OutputStream os) { try { while(true) { int val = is.rea...
Java
package net.srcz.android.screencast.api.recording; import java.awt.image.BufferedImage; import java.awt.image.WritableRaster; import java.io.*; import java.util.Date; import java.util.LinkedList; import javax.imageio.*; import javax.imageio.stream.*; public class QuickTimeOutputStream { /** * Output stream ...
Java
package net.srcz.android.screencast.api.recording; import java.io.*; import javax.imageio.stream.ImageOutputStream; public class FilterImageOutputStream extends FilterOutputStream { private ImageOutputStream imgOut; public FilterImageOutputStream(ImageOutputStream iOut) { super(null); thi...
Java