Skip to content

Tag: java

How to modify the port of https(http) URL?

Originally, I have a website with nginx and Ubuntu 20.04 port at 80(http) and 443(https), the URL is https://mysite.cc (It works well) And now, I want to set another site with Spring Cloud (Docker) with the URL https://new.mysite.cc How to set the nginx or the docker of Spring cloud? Right now, all of the two…

reactNative.Share.open is undefined

I’m trying to use the share component with react native but I keep getting this error below. Any idea why ? ‘_reactNative.Share.open is not a function. (In ‘_reactNative.Share.open({ url: uri })’, ‘_reactNative.Share.open’ is undefined)’ Answer This is because ‘…

How to set pane colour from colour picker

I have some code, in javafx, that has a pane that works like a paint canvas. I need to be able to fill the background color of the pane from a color picker. Currently I have a Color variable that gets the color chosen from the color picker and I try to set it to my Pane (named canvas) as