Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable getCurrentDatabaseLag check - fixes #40 #41

Merged
merged 26 commits into from
May 10, 2015

Conversation

saper
Copy link
Contributor

@saper saper commented May 3, 2015

Implements GUI option "Monitor server status (database lag)".

Database lag is checked only when this option
is enabled AND the user is logged in. The user
can turn this option on and off during the session
at will. Changes should be visible immediately
in the interface.

Implementation details:

ServerMonitor is designed to be pretty independent
from the rest of the application. Ideally it
would only listen to events.

The GUI widget component should really be separate.

One property in Data and Data.settings have been
converted to use Javabean accessors, in order
to enable possibility to listen on changes.
Probably the code could got simpler if other
settings became bound properties as well.

This code has been developed in vi only
and therefore little attention have been
paid to the form definition files.
It is also possible that some imports can
be removed, maybe there are some warnings
introduced.

It is confusing to decide whether to access
Data via static methods or as an instance
variable (this.data). I tried to use the
latter, mostly.

Thanks for writing Vicuna! It is really good.

saper added 11 commits May 5, 2015 15:49
Use bean property change event to monitor
changes to the configuration property.

This allows the monitor to start as soon
as the user changes the configuration.
Listen on Data.loggedIn changes
to update UI on login and logout.

On some objects use instance methods
instead of static class methods
when accessing Data.
We no longer need to start ServerMonitor
thread manually, it will react to login/logout
and preferences changed events accordingly.
isServerMonitorEnabled() is much better!
saper added 15 commits May 7, 2015 21:03
A list of mappings to load session files
to be submitted to FFileLoading
No need to re-create File instance
Converter.canConvert() checks at runtime
whether we have a desired type in the XML stream
During deserialization there is no way
we can check for the propert type here.
We cannot have generic arrays, so suppress the
warning. Page information object is very Python-like
and unlike Java.
Having two-element ArrayList[] with a big
lists of Strings as element one and URLs
as element two is a very bad idea.
All warnings should be either solved or suppressed
(org.wikipedia.Wiki...) now.

One needs to add -bootclasspath and -extdirs
to point to Java 6 SDK, fo example:

bootstrappaths=-bootclasspath /usr/local/openjdk6-jre/lib/rt.jar -extdirs /usr/local/openjdk6-jre/lib/ext
javac.compilerargs=-Xlint:all ${bootstrappaths}
javadoc.additionalparam=${bootstrappaths} -quiet

This way javac does not warn about
javax.swing.DefaultComboBoxModel() which
became javax.swing.DefaultComboBoxModel<E>() in Java 7
We are using:
- java.awt.Desktop
- String.isEmpty()
- javax.swing.LayoutStyle and javax.swing.GroupLayout

so we should not pretend we are Java 5

javac errors:

Compiling 25 source files to build/classes
src/cuploader/CategoryHint.java:4: error: cannot find symbol
import java.awt.Desktop;
               ^
  symbol:   class Desktop
  location: package java.awt
src/cuploader/frames/FAbout.java:4: error: cannot find symbol
import java.awt.Desktop;
               ^
  symbol:   class Desktop
  location: package java.awt
src/cuploader/frames/FIntro.java:4: error: cannot find symbol
import java.awt.Desktop;
               ^
  symbol:   class Desktop
  location: package java.awt
src/cuploader/frames/Main.java:19: error: cannot find symbol
import java.awt.Desktop;
               ^
  symbol:   class Desktop
  location: package java.awt
src/cuploader/CategoryHint.java:100: error: cannot find symbol
        if(!text.isEmpty()) {
                ^
  symbol:   method isEmpty()
  location: variable text of type String
src/cuploader/CategoryHint.java:138: error: cannot find symbol
                                    Desktop.getDesktop().browse(new URI("http://"+Data.settings.server+"/wiki/Category:"+category.getText().replace(" ", "_")));
                                    ^
  symbol: variable Desktop
src/org/wikipedia/Wiki.java:492: error: cannot find symbol
        if (domain == null || domain.isEmpty())
                                    ^
  symbol:   method isEmpty()
  location: variable domain of type String
src/org/wikipedia/Wiki.java:2040: error: cannot find symbol
            if (!plcontinue.isEmpty())
                           ^
  symbol:   method isEmpty()
  location: variable plcontinue of type String
src/org/wikipedia/Wiki.java:2508: error: cannot find symbol
        if (!reason.isEmpty())
                   ^
  symbol:   method isEmpty()
  location: variable reason of type String
src/org/wikipedia/Wiki.java:2608: error: cannot find symbol
        if (!reason.isEmpty())
                   ^
  symbol:   method isEmpty()
  location: variable reason of type String
src/org/wikipedia/Wiki.java:2690: error: cannot find symbol
        if (title.isEmpty())
                 ^
  symbol:   method isEmpty()
  location: variable title of type String
src/org/wikipedia/Wiki.java:3006: error: cannot find symbol
            if (!aicontinue.isEmpty())
                           ^
  symbol:   method isEmpty()
  location: variable aicontinue of type String
src/org/wikipedia/Wiki.java:3099: error: cannot find symbol
                if (!reason.isEmpty())
                           ^
  symbol:   method isEmpty()
  location: variable reason of type String
src/org/wikipedia/Wiki.java:3166: error: cannot find symbol
            if (!reason.isEmpty())
                       ^
  symbol:   method isEmpty()
  location: variable reason of type String
src/org/wikipedia/Wiki.java:3251: error: cannot find symbol
        if (prefix.isEmpty())
                  ^
  symbol:   method isEmpty()
  location: variable prefix of type String
src/org/wikipedia/Wiki.java:3266: error: cannot find symbol
            if (!next.isEmpty())
                     ^
  symbol:   method isEmpty()
  location: variable next of type String
src/org/wikipedia/Wiki.java:3395: error: cannot find symbol
        if (prefix.isEmpty())
                  ^
  symbol:   method isEmpty()
  location: variable prefix of type String
src/org/wikipedia/Wiki.java:3442: error: cannot find symbol
        log(Level.INFO, "Successfully retrived contributions for " + (prefix.isEmpty() ? user : prefix) + " (" + size + " edits)", "contribs");
                                                                            ^
  symbol:   method isEmpty()
  location: variable prefix of type String
src/org/wikipedia/Wiki.java:3981: error: cannot find symbol
                int[] temp = Arrays.copyOf(ns, ns.length + 1);
                                   ^
  symbol:   method copyOf(int[],int)
  location: class Arrays
src/org/wikipedia/Wiki.java:3994: error: cannot find symbol
            if (!next.isEmpty())
                     ^
  symbol:   method isEmpty()
  location: variable next of type String
src/org/wikipedia/Wiki.java:4172: error: cannot find symbol
        if (!user.isEmpty())
                 ^
  symbol:   method isEmpty()
  location: variable user of type String
src/org/wikipedia/Wiki.java:4215: error: cannot find symbol
        if (!user.isEmpty())
                 ^
  symbol:   method isEmpty()
  location: variable user of type String
src/org/wikipedia/Wiki.java:4354: error: cannot find symbol
            if (action.isEmpty())
                      ^
  symbol:   method isEmpty()
  location: variable action of type String
src/org/wikipedia/Wiki.java:4377: error: cannot find symbol
        if (!target.isEmpty())
                   ^
  symbol:   method isEmpty()
  location: variable target of type String
src/org/wikipedia/Wiki.java:4661: error: cannot find symbol
        if (!prefix.isEmpty()) // prefix
                   ^
  symbol:   method isEmpty()
  location: variable prefix of type String
src/org/wikipedia/Wiki.java:4718: error: cannot find symbol
            if (!next.isEmpty())
                     ^
  symbol:   method isEmpty()
  location: variable next of type String
src/org/wikipedia/Wiki.java:5039: error: cannot find symbol
        if (title.equals("|") && prefix.isEmpty())
                                       ^
  symbol:   method isEmpty()
  location: variable prefix of type String
src/org/wikipedia/Wiki.java:5057: error: cannot find symbol
            if (iwblcontinue.isEmpty())
                            ^
  symbol:   method isEmpty()
  location: variable iwblcontinue of type String
src/org/wikipedia/Wiki.java:6175: error: cannot find symbol
        if (line.isEmpty())
                ^
  symbol:   method isEmpty()
  location: variable line of type String
src/org/wikipedia/Wiki.java:6277: error: cannot find symbol
        if (s.isEmpty())
             ^
  symbol:   method isEmpty()
  location: variable s of type String
src/cuploader/frames/FSettings.java:196: error: cannot find symbol
    javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
               ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:196: error: cannot find symbol
    javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
                                                           ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:207: error: package javax.swing.LayoutStyle does not exist
            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                    ^
src/cuploader/frames/FSettings.java:206: error: cannot find symbol
            .addComponent(lAttrib, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                                              ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:206: error: cannot find symbol
            .addComponent(lAttrib, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                           ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:204: error: cannot find symbol
          .addComponent(cLicense, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:203: error: package javax.swing.GroupLayout does not exist
          .addComponent(tLicense, javax.swing.GroupLayout.Alignment.TRAILING)
                                                         ^
src/cuploader/frames/FSettings.java:202: error: package javax.swing.GroupLayout does not exist
        .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                           ^
src/cuploader/frames/FSettings.java:199: error: package javax.swing.GroupLayout does not exist
      jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                               ^
src/cuploader/frames/FSettings.java:222: error: cannot find symbol
        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                    ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:221: error: cannot find symbol
          .addComponent(tAttrib, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                            ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:221: error: cannot find symbol
          .addComponent(tAttrib, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                    ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:221: error: cannot find symbol
          .addComponent(tAttrib, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                                          ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:220: error: cannot find symbol
          .addComponent(lAttrib, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                            ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:220: error: cannot find symbol
          .addComponent(lAttrib, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                  ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:219: error: package javax.swing.GroupLayout does not exist
        .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                                           ^
src/cuploader/frames/FSettings.java:218: error: package javax.swing.LayoutStyle does not exist
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                ^
src/cuploader/frames/FSettings.java:217: error: cannot find symbol
        .addComponent(tLicense, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                           ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:217: error: cannot find symbol
        .addComponent(tLicense, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                   ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:217: error: cannot find symbol
        .addComponent(tLicense, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                                         ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:216: error: package javax.swing.LayoutStyle does not exist
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                ^
src/cuploader/frames/FSettings.java:215: error: cannot find symbol
        .addComponent(cLicense, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                           ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:215: error: cannot find symbol
        .addComponent(cLicense, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                   ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:215: error: cannot find symbol
        .addComponent(cLicense, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                                         ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:212: error: package javax.swing.GroupLayout does not exist
      jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                               ^
src/cuploader/frames/FSettings.java:249: error: cannot find symbol
    javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
               ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:249: error: cannot find symbol
    javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
                                                           ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:264: error: cannot find symbol
          .addComponent(lSource, javax.swing.GroupLayout.DEFAULT_SIZE, 301, Short.MAX_VALUE))
                                            ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:262: error: package javax.swing.GroupLayout does not exist
        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                           ^
src/cuploader/frames/FSettings.java:261: error: package javax.swing.LayoutStyle does not exist
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                ^
src/cuploader/frames/FSettings.java:260: error: cannot find symbol
          .addComponent(rOwnWork, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                             ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:260: error: cannot find symbol
          .addComponent(rOwnWork, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                                                                   ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:259: error: cannot find symbol
            .addComponent(tOtherAuthor, javax.swing.GroupLayout.PREFERRED_SIZE, 241, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                   ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:259: error: cannot find symbol
            .addComponent(tOtherAuthor, javax.swing.GroupLayout.PREFERRED_SIZE, 241, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:258: error: package javax.swing.LayoutStyle does not exist
            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                    ^
src/cuploader/frames/FSettings.java:255: error: package javax.swing.GroupLayout does not exist
        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                                           ^
src/cuploader/frames/FSettings.java:252: error: package javax.swing.GroupLayout does not exist
      jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                               ^
src/cuploader/frames/FSettings.java:277: error: cannot find symbol
          .addComponent(tOtherAuthor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                 ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:277: error: cannot find symbol
          .addComponent(tOtherAuthor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                         ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:277: error: cannot find symbol
          .addComponent(tOtherAuthor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                                               ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:275: error: cannot find symbol
          .addComponent(tSource, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:275: error: cannot find symbol
          .addComponent(tSource, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                    ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:275: error: cannot find symbol
          .addComponent(tSource, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                                                                          ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:274: error: package javax.swing.GroupLayout does not exist
        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                           ^
src/cuploader/frames/FSettings.java:273: error: package javax.swing.LayoutStyle does not exist
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                ^
src/cuploader/frames/FSettings.java:272: error: cannot find symbol
          .addComponent(lSource, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                                            ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:272: error: cannot find symbol
          .addComponent(lSource, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                        ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:270: error: package javax.swing.GroupLayout does not exist
        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                                                           ^
src/cuploader/frames/FSettings.java:268: error: package javax.swing.GroupLayout does not exist
      jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                               ^
src/cuploader/frames/FSettings.java:297: error: cannot find symbol
    javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
               ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:297: error: cannot find symbol
    javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
                                                           ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:310: error: cannot find symbol
          .addComponent(tExtraTextScroll, javax.swing.GroupLayout.DEFAULT_SIZE, 455, Short.MAX_VALUE)
                                                     ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:308: error: package javax.swing.GroupLayout does not exist
        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                           ^
src/cuploader/frames/FSettings.java:307: error: package javax.swing.LayoutStyle does not exist
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                ^
src/cuploader/frames/FSettings.java:306: error: cannot find symbol
          .addComponent(lPermission, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                                ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:306: error: cannot find symbol
          .addComponent(lPermission, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                                                                      ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:305: error: cannot find symbol
          .addComponent(lCategories, javax.swing.GroupLayout.DEFAULT_SIZE, 108, Short.MAX_VALUE)
                                                ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:304: error: cannot find symbol
          .addComponent(lExtraText, javax.swing.GroupLayout.DEFAULT_SIZE, 108, Short.MAX_VALUE)
                                               ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:303: error: package javax.swing.GroupLayout does not exist
        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                                           ^
src/cuploader/frames/FSettings.java:300: error: package javax.swing.GroupLayout does not exist
      jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                               ^
src/cuploader/frames/FSettings.java:328: error: cannot find symbol
          .addComponent(tExtraTextScroll, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                     ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:328: error: cannot find symbol
          .addComponent(tExtraTextScroll, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                             ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:328: error: cannot find symbol
          .addComponent(tExtraTextScroll, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                                                                                                   ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:326: error: package javax.swing.GroupLayout does not exist
        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                                           ^
src/cuploader/frames/FSettings.java:325: error: package javax.swing.LayoutStyle does not exist
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                ^
src/cuploader/frames/FSettings.java:324: error: cannot find symbol
          .addComponent(lPermission, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                                ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:324: error: cannot find symbol
          .addComponent(lPermission, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                                                                      ^
  symbol:   class GroupLayout
  location: package javax.swing
src/cuploader/frames/FSettings.java:322: error: package javax.swing.GroupLayout does not exist
        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                                           ^
src/cuploader/frames/FSettings.java:321: error: package javax.swing.LayoutStyle does not exist
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                ^
src/cuploader/frames/FSettings.java:321: error: cannot find symbol
        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                                        ^
  symbol:   class GroupLayout
  location: package javax.swing
100 errors
@saper
Copy link
Contributor Author

saper commented May 8, 2015

All commits from d94d52a..6dfb348 are to cleanup/silence warnings and clean up build infrastructure a bit.

We should also stop pretending we run on Java 5.

yarl added a commit that referenced this pull request May 10, 2015
Option to disable getCurrentDatabaseLag check - fixes #40
@yarl yarl merged commit 85f4f26 into yarl:master May 10, 2015
@saper saper deleted the nolag branch May 10, 2015 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants