Skip to content

Tag: java

RouteBuilder with multiple routes

I am using a route builder in my Camel Context like this: I have implemented a RouteBuilder like this: Is it possible to implement more routes in the same route builder? Answer yes you can implement a lot of routes in the same route builder like this, I advise you to use routeId for identify the route in the …

Nested JSON in JSON

How can I form JSON like that: I tried creating models with one-to-one, many-to-one relationships. Controller: But I got I read about creating nodes, but didn’t understand, how integrate it with spring data. What i need to nest table Comments in table Tutorials? Answer Looks to me as if you are pretty c…

Controlling Media on phone from WearOS Watch

Is it possible to make an app like the media controller app that WearOS comes with yourself? Im asking because I want to design my own watch face that has media controls on it. There is a surprising lack of online documentation and people with this same question about this, which makes me think this is imposs…

Horizontal JScrollPane inside vertical JScrollPane

Good afternoon! It is necessary to make a list (vertical) from lists of events (horizontal). There are at least 2 problems: the area of the list of events (horizontal scrolling) expands beyond the borders of the panel. Apparently, the problem is with Layout, but I can not find the right combination; horizonta…