Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38209

Re: Java 10

From Martin Gregorie <martin@mydomain.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Java 10
Date 2018-03-26 16:18 +0000
Organization albasani.net
Message-ID <p9b6gt$cis$1@news.albasani.net> (permalink)
References (4 earlier) <p93kv7$q0d$1@dont-email.me> <p95qpv$1ui3$1@gioia.aioe.org> <p95tfo$hgh$1@dont-email.me> <p95uk7$606$1@gioia.aioe.org> <b2ea00a1-a731-4ea6-9e0e-8a53a9aa7054@googlegroups.com>

Show all headers | View raw


On Mon, 26 Mar 2018 06:00:23 -0700, Eric Douglas wrote:

> The JRE only installs on Windows, Linux, and Mac OS, which is surely why
> most Java programming positions want someone who knows web technology. 
> They're trying to do the client side in universal ways, which could mean
> app but likely means browser as they want to support iOS and android
> clients.
>
I think there are a few others as well: Solaris for the Oracle JVM.

The IBM JVM runs on the IBM i-series Power chips, and also in AIX and Z 
series machines under OS/400, MVS and z/OS. 

And, I suppoer the Android port shouldn't be ignored.

Finally, there seem to be 17 actively supported ports of the OpenJava JVM 
to a variety of hardware and OSen and 30 inactive ports. There are also 
10 active proprietary JVM implementations and maybe twice that number of 
inactive and lesser known ones.

> No one can agree on screen size so there's practically a device for
> every size now, 4", 5", 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18 just
> for phone/tablet/laptop then the desktop is likely larger.  The screen
> could be the lowest or highest resolution available.  tvs and now some
> pcs have gotten to this 4k resolution and higher ones are coming. 
> Everything has to scale well.
>
As I already said, the screen size in pixels is more important that 
physical measurements and, since there's a ToolKit class with a method 
that returns the screen size in pixels, its quite easy to write any app 
to be self-scaling, e.g. by specifying window and font size constants as 
a percentage of the screen size and creating a one liner static method 
for converting this into a size in pixels. It works well: I have apps 
written this way that run well on three different screen sizes with no 
tweaks of recompilation needed.

> I wrote a custom framework for my application using classes which extend
> Swing classes.  I use fixed size windows with fixed size and location of
> controls to make it easy for users, so the application just requires
> Windows or Linux or MacOS (though we currently just run it in house
> using Windows) and requires a minimum resolution which everyone has by
> now.  Most users don't need to scale but we set up a conference PC to
> use a tv for a monitor, which is larger than our desktop monitors so I
> tried to scale that, so I had to customize the JCheckBox because Swing
> was just using an icon for the box and not adjusting it for scale.
>
That would most likely be easy to adapt to automatic screen resizing as 
described above.
 

-- 
Martin    | martin at
Gregorie  | gregorie dot org

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Java 10 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-03-22 15:37 -0500
  Re: Java 10 Eric Douglas <e.d.programmer@gmail.com> - 2018-03-22 13:43 -0700
    Re: Java 10 Uniqua Lykerd <uniqualykerd@protonmail.com> - 2018-03-30 16:56 -0400
  Re: Java 10 Eric Douglas <e.d.programmer@gmail.com> - 2018-03-23 05:21 -0700
    Re: Java 10 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-03-23 13:12 -0500
      Re: Java 10 Arne Vajhøj <arne@vajhoej.dk> - 2018-03-23 14:26 -0400
        Re: Java 10 Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-03-23 14:36 -0500
          Re: Java 10 Arne Vajhøj <arne@vajhoej.dk> - 2018-03-24 11:27 -0400
            Re: Java 10 Daniele Futtorovic <da.futt.news@laposte.net> - 2018-03-24 17:13 +0100
              Re: Java 10 Arne Vajhøj <arne@vajhoej.dk> - 2018-03-24 12:33 -0400
                Re: Java 10 Martin Gregorie <martin@mydomain.invalid> - 2018-03-24 17:17 +0000
                Re: Java 10 Eric Douglas <e.d.programmer@gmail.com> - 2018-03-26 06:00 -0700
                Re: Java 10 Martin Gregorie <martin@mydomain.invalid> - 2018-03-26 16:18 +0000
                Re: Java 10 Arne Vajhøj <arne@vajhoej.dk> - 2018-03-26 13:25 -0400
                Re: Java 10 Silvio <silvio@internet.com> - 2018-03-26 22:50 +0200
        Re: Java 10 Ian Pilcher <arequipeno@gmail.com> - 2018-03-23 15:36 -0500
          Re: Java 10 Arne Vajhøj <arne@vajhoej.dk> - 2018-03-24 11:30 -0400
      Re: Java 10 Eric Douglas <e.d.programmer@gmail.com> - 2018-03-23 12:23 -0700

csiph-web